‎2008 Aug 28 9:56 PM
Hi,
I need to translate all the letters of a word but the first one to lower case.
For example, the variable has the value "ROBERTO" and i want to change it to "Roberto".
Is there a FM to do this?
And also, does anybody know a char domain in which letters stay in lower case?
Regards,
Roberto
‎2008 Aug 28 10:02 PM
Hi,
ch_text = 'ROBERTO'.
TRANSLATE ch_text+1 TO LOWER CASE.
Thanks,
Kartavya
Edited by: Kartavya Kaushik on Aug 28, 2008 11:03 PM
‎2008 Aug 28 10:07 PM
Hi,
And how can i translate "ROBERTO OKUMURA" to "Roberto Okumura" ?
Sdls,
Roberto
‎2008 Aug 28 10:09 PM
Here is one FM also which can do this
STRING_UPPER_LOWER_CASE
Usage -
Pass value
Delimiter = space
String1 = 'ROBERTO OKUMURA'
Output -
Roberto Okumura
Thanks,
Kartavya
Edited by: Kartavya Kaushik on Aug 28, 2008 11:11 PM
‎2008 Aug 28 10:38 PM
Hi,
That FM deletes blank spaces. But i can split the words into different fields of an itab and then use "translate to lower case" for each field and concatenate them back toguether into a variable.
Thanks for your answers,
Regards,
Roberto