‎2008 Aug 28 8:15 AM
Hi,
I am displaying some colours in SF
For eg : ERYTHROSINE
I want to display in this format ' Erythrosine'.
Can any one......
‎2008 Aug 28 10:02 AM
hi
U can try it using the TRANSLATE statement
data : TEXT(10) type C.
data : T type C.
TEXT = 'gopi'.
move TEXT+0(1) to T.
translate T to upper case.
concatenate T TEXT+1(9) into TEXT.
write : TEXT.
Just try the above example.
Regards
Deva
‎2008 Aug 28 10:02 AM
hi
U can try it using the TRANSLATE statement
data : TEXT(10) type C.
data : T type C.
TEXT = 'gopi'.
move TEXT+0(1) to T.
translate T to upper case.
concatenate T TEXT+1(9) into TEXT.
write : TEXT.
Just try the above example.
Regards
Deva
‎2008 Aug 28 10:09 AM
Hi,
Use Translate syntex apprpriate up to ur requirment and for first letter u can use
g_str = ERYTHROSINE.
g_len(g_str)
offset -> translate g_str+0(1) to upper case
offset -> translate g_str+1(g_len) to lower case case
‎2008 Aug 28 1:14 PM