‎2007 Aug 01 8:47 AM
Hi all,
I m using one Text fields....want convert it in Title case..........
e.g....Text = 'sachin'......want to convert like Sachin............
is it possible.......
Regards,
Imran
‎2007 Aug 01 11:28 AM
Hi Imran,
follow below code:
data: loc_text(10) type c,
loc_title type c.
loc_text = 'sachin'
loc_title = loc_text+0(1)
translate loc_title to upper case
concatenate loc_title loc_text+1 to loc_text
....It will work fine
Regards
Krishnendu
‎2007 Aug 01 11:28 AM
Hi Imran,
follow below code:
data: loc_text(10) type c,
loc_title type c.
loc_text = 'sachin'
loc_title = loc_text+0(1)
translate loc_title to upper case
concatenate loc_title loc_text+1 to loc_text
....It will work fine
Regards
Krishnendu
‎2007 Aug 01 11:35 AM
hi,
There is no standard procedure to do this.
we have to do it manually.
by using offset , take the first character and convert it to upper case
and append it every time.
Regards,
Srinivas