Akshaya Akki has Published 46 Articles

Java Program to reverse a given String with preserving the position of space.

Akshaya Akki

Akshaya Akki

Updated on 26-Feb-2020 05:09:40

5K+ Views

You can reverse the contents of a given String using leaving the spaces using the reverse() method of the StringBuffer class.Examplepublic class Test {    public static void main(String args[]) {       String str = "hi welcome to Tutorialspoint";       String strArray[] = str.split(" ");   ... Read More

Function pointers in Java

Akshaya Akki

Akshaya Akki

Updated on 24-Feb-2020 12:48:19

2K+ Views

From Java 8 onwards, the lambda expression is introduced which acts as function pointers.Lambda expressions are introduced in Java 8 and are touted to be the biggest feature of Java 8. Lambda expression facilitates functional programming and simplifies the development a lot.SyntaxA lambda expression is characterized by the following syntax.parameter ... Read More

Creating a Radio button group in ABAP Screen Painter

Akshaya Akki

Akshaya Akki

Updated on 13-Feb-2020 10:55:29

6K+ Views

Screen Painter is known as an ABAP editor tool that can be used to create a screen. Screen Painter is used to create and manage all the elements in a screen.Transaction Code SE51There are various ways you can insert a Radio button to ABAP Screen Painter. First is by clicking ... Read More

How to repeat the values stored in a data column of MySQL table?

Akshaya Akki

Akshaya Akki

Updated on 07-Feb-2020 10:08:05

243 Views

For repeating the values stored in a data column of MySQL table, the name of the column must be passed as the first argument of REPEAT() function. The data from ‘Student’ table is used to demonstrate it:Examplemysql> Select REPEAT(Name, 3)AS Name from student; +-----------------------+ | Name         ... Read More

How can we use the output of LTRIM() and RTRIM() functions to update MySQL table?

Akshaya Akki

Akshaya Akki

Updated on 06-Feb-2020 06:52:34

410 Views

We can use LTRIM() and RTRIM functions with MySQL update clause so that the values, after removing space characters, in the table can be updated. Following examples will demonstrate it −ExampleSuppose we know that there can be some space characters in the values of ‘Name’ column of table ‘Student’ then ... Read More

Match any string containing a sequence of two to three p's.

Akshaya Akki

Akshaya Akki

Updated on 20-Jan-2020 10:11:41

106 Views

To match any string containing a sequence of two to three p’s with JavaScript RegExp, use the p{2,3} Quantifier.Example           JavaScript Regular Expression                        var myStr = "Welcome 1, 10, 100, 1000, 1000";          var reg = /\d{2,3}/g;          var match = myStr.match(reg);                    document.write(match);          

What is the best way to concatenate strings in JavaScript?

Akshaya Akki

Akshaya Akki

Updated on 13-Jan-2020 08:25:31

933 Views

The best and fastest way to concatenate strings in JavaScript is to use the + operator. You can also use the concat() method.ExampleYou can try to run the following code to concatenate strings in JavaScriptLive Demo           JavaScript Concatenation             ... Read More

How to set src to the img tag in HTML from another domain?

Akshaya Akki

Akshaya Akki

Updated on 09-Jan-2020 08:54:02

3K+ Views

To use an image on a webpage, use the tag. The tag allows you to add image source, alt, width, height, etc. The src is to add the image URL. The alt is the alternate text attribute, which is text that is visible when the image fails to load. ... Read More

Programmer to be an SAP Functional Consultant - HR or MM

Akshaya Akki

Akshaya Akki

Updated on 06-Dec-2019 11:10:53

177 Views

SAP HR is an old module and there are only a few companies which are doing the implementation of old modules onSAP. Moreover, SAP HR has sub-modules like Payroll, Personal Administration, Time Management, etc.If you go for a course in SAP HR, it would only give you conceptual knowledge but ... Read More

Executing an inner join over RFC on database tables in SAP system

Akshaya Akki

Akshaya Akki

Updated on 05-Dec-2019 10:32:27

603 Views

You can do this by creating your own function module that can perform selection as per the requirement.You could also use to create a database view and that can be used to call RFC_READ_TABLE. Also, check for prebuilt SAP connectors provided by companies for SQL joins:

Advertisements