Alankritha Ammu

Alankritha Ammu

27 Articles Published

Articles by Alankritha Ammu

27 articles

How to set background image of a webpage?

Alankritha Ammu
Alankritha Ammu
Updated on 16-Mar-2026 33K+ Views

Beautiful webpages are a very strong means of catching user attention. In this article, we are going to see how we can add an image as the background image of a web page using HTML and CSS approaches. Methods to Set Background Image There are two primary approaches to setting an image as the webpage's background image − Using background attribute − The traditional HTML approach (deprecated in HTML5) Using CSS background-image property − The modern and recommended approach Method 1: Using Background Attribute The background attribute can be used in the ...

Read More

How to use floating image in HTML page?

Alankritha Ammu
Alankritha Ammu
Updated on 16-Mar-2026 22K+ Views

To use a floating image in HTML, use the CSS float property. It allows you to position an image to the left or right side of its container, causing surrounding text to wrap around the image naturally. Syntax Following is the syntax for the CSS float property − img { float: value; } Alternatively, you can apply it inline − Float Property Values The float property accepts the following values − Property Value Description none Default value. ...

Read More

How to convert a boolean value to string value in JavaScript?

Alankritha Ammu
Alankritha Ammu
Updated on 15-Mar-2026 16K+ Views

In JavaScript, there are several ways to convert a boolean value to a string. The most common methods include using the toString() method, string concatenation, and the String() constructor. Using toString() Method The toString() method converts a boolean value to its string representation ("true" or "false"). Boolean to String Conversion var flag1 = true; var flag2 = false; ...

Read More

How to return a number indicating the Unicode value of the character?

Alankritha Ammu
Alankritha Ammu
Updated on 15-Mar-2026 417 Views

The charCodeAt() method returns a number indicating the Unicode value of the character at the given index. Unicode code points range from 0 to 1, 114, 111. The first 128 Unicode code points are a direct match of the ASCII character encoding. Syntax string.charCodeAt(index) Parameters index − An integer between 0 and 1 less than the length of the string; if unspecified, defaults to 0. Return Value Returns a number representing the Unicode code point of the character at the specified index. If the index is ...

Read More

What is the JavaScript version of sleep()?

Alankritha Ammu
Alankritha Ammu
Updated on 15-Mar-2026 472 Views

JavaScript doesn't have a built-in sleep() function like other languages, but you can create one using Promise and setTimeout() with async/await. Creating a Sleep Function The most common approach is to create a promise-based sleep function that works with async/await: function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } async function displayMessages() { document.write('Wait for 3 seconds!'); await sleep(3000); document.write('After 3 seconds!'); document.write('Wait for 2 ...

Read More

What is the difference Between C and C++?

Alankritha Ammu
Alankritha Ammu
Updated on 15-Mar-2026 1K+ Views

C and C++ are closely related programming languages, with C++ being developed as an extension of C. While they share many similarities, there are fundamental differences in their design philosophy and features. Key Differences Between C and C++ Aspect C C++ Programming Paradigm Procedural Programming Object-Oriented Programming Building Blocks Functions Objects and Classes Memory Management malloc() and free() new and delete operators Variable References Not supported Supported Function Overloading Not supported Supported Operator Overloading Not supported Supported Exception Handling Not supported try-catch ...

Read More

Error connecting SAP while sapjco3.jar file is in my library path

Alankritha Ammu
Alankritha Ammu
Updated on 13-Mar-2026 697 Views

When encountering errors connecting to SAP even though the sapjco3.jar file is in your library path, the issue typically stems from a missing native library. You need to copy sapjco3.dll into a folder in your Java library path, as the required library is not sapjco3.jar but rather the sapjco3.dll file. Checking Your Current Library Path You can check your current Java library path in your application using the following − public class LibraryPathChecker { public static void main(String[] args) { String libraryPath = System.getProperty("java.library.path"); ...

Read More

Aggregating rows in SAP ABAP with the same name

Alankritha Ammu
Alankritha Ammu
Updated on 13-Mar-2026 732 Views

You can use the COLLECT keyword or some aggregate functions to achieve the result of aggregating rows with the same name in SAP ABAP. You should define appropriate data types to match your specific scenario. The COLLECT statement is particularly useful for accumulating numeric values while grouping rows by key fields. It automatically sums up non-key fields for records that have identical key field values. Example Here's a complete example showing how to aggregate rows using the COLLECT statement − TYPES: BEGIN OF t_my_type, key_a TYPE ...

Read More

I am getting GUID Key columns truncated while using proxy ERP tables to query SAP tables

Alankritha Ammu
Alankritha Ammu
Updated on 13-Mar-2026 250 Views

When working with proxy ERP tables to query SAP tables, you may encounter an issue where GUID key columns get truncated. This is a common limitation that occurs due to SAP's default restrictions. The Problem There is a restriction in SAP where the default functional module only displays 16 characters for GUID key columns. This truncation can cause data integrity issues and prevent proper record identification when querying through proxy tables. Solution To overcome this limitation, you need to install a Z ...

Read More

How to check if a String contains another String in a case insensitive manner in Java?

Alankritha Ammu
Alankritha Ammu
Updated on 11-Mar-2026 2K+ Views

One way to do it to convert both strings to lower or upper case using toLowerCase() or toUpperCase() methods and test.Examplepublic class Sample {    public static void main(String args[]){       String str = "Hello how are you welcome to Tutorialspoint";       String test = "tutorialspoint";       Boolean bool = str.toLowerCase().contains(test.toLowerCase());       System.out.println(bool);    } }Outputtrue

Read More
Showing 1–10 of 27 articles
« Prev 1 2 3 Next »
Advertisements