‎2007 Aug 10 10:40 AM
Hi all,
please tell me any function module which convert Upper or lower string in to string which have first character always capital.
Thanking you in advance.
Regards
Gurprit Bhatia
‎2007 Aug 10 10:42 AM
HI,
if you have to variables
variable 2 = variable1+0(5).
now variabl2 is a character type and it becomes a string
thanks & regards,
Venkatesh
‎2007 Aug 10 10:43 AM
HI,
if you have to variables
variable 2 = variable1+0(5).
use
<b>translate variable2 to upper-case.</b>
now variabl2 is a character type and it becomes a string
thanks & regards,
Venkatesh
‎2007 Aug 10 10:44 AM
Hi,
DATA: var type String value 'check'.
TRANSLATE var+0(1) TO UPPER CASE.
write: var.
Regards,
Sesh
‎2007 Aug 10 10:46 AM
Hi..
This is the FM
STRING_UPPER_LOWER_CASE
Pass the DELIMITER as 1 TO MAKT the first char as UPPER.
And....
You can use Translate command for this.
Data : var(10) value 'INDIA'.
TRANSLATE VAR TO LOWER CASE.
TRANSLATE VAR(1) TO UPPER CASE.
<b>Reward if Helpful.</b>
‎2007 Aug 10 10:47 AM