Page 1 of 1

Removing spaces and certain characters in a string

Posted: Thu Sep 19, 2013 7:19 am
by skp
Hi all,

My Input
-------
Jun Fujimoto/Singapore/IBM@IBMSG

output should be in (trim ,upper case and removal of the last characters after @) like

Output
-------

JUNFUJIMOTO/SINGAPORE/IBM

please provide the logic for this conversion.

Thanks

Posted: Thu Sep 19, 2013 7:27 am
by RPhani
Hi,

Try with Trim(),Upcase() and Field() functions.

----------------------------
Phani

Posted: Thu Sep 19, 2013 7:31 am
by skp
please provide exact logic.

Posted: Thu Sep 19, 2013 7:32 am
by stuartjvnorton

Posted: Thu Sep 19, 2013 7:32 am
by chulett
Come on... how about you put a little effort into solving the problem first? Then show us what you've tried and what's not working and we'll help nail it down for you.

If the Field() suggestion is throwing you, you can use it to take the first field from your "@" delimited string. The rest should be very straight-forward.