cancel
Showing results for 
Search instead for 
Did you mean: 

TEXT Functions

Former Member
0 Kudos

can anyone explain me these Text Functions with an exmaple plz...: substring, concat, equalsS, indexOf, lastIndexOf, compare, etc.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

substring....It takes substring of your total string....

concat ....concatenates two strings(2..inputs and 1 output)

equalsS...Compares with two strings and return true or false value...

Former Member
0 Kudos

i will go with sekhar example....

With help of <b>substring</b> we can devide a string using delimiters..

Cheers,

Raghavesh..

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Harsha,

See the following link, Its very helpful for beginers

They have provided very nice information about the functions and there are many link which points to examples. Even they have given it diagramatically.

http://help.sap.com/saphelp_nw2004s/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm

    • Reward points if it helps you.

Regards,

Shri

Shabarish_Nair
Active Contributor
0 Kudos

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm

in that link drill down to <b>Function Category: Text</b> section

Former Member
0 Kudos

Hi Shabz/Bhavesh..

any examples plz....what would be the case...

Shabarish_Nair
Active Contributor
0 Kudos

well there are lot of examples.

say in case you have two fields firstname and lastname and in your target you need the full name then u can use the concat function and avoid writing a UDF to concat both the text. Similarly in case you want to extract only the first 3 letters of a field in the source and map it to the target, then u can use substring etc.

bhavesh_kantilal
Active Contributor
0 Kudos