Deleting characters from string

Question: Hi guys,
I need help and it is urgent,

i have to concatenate two address fields say Address3 and Address4 into Address5.
but the restriction is that all special characters and numerics have to be deleted from the concatenated string before transfering to Address5 field, but in ABAP does not allow deletion of characters from a string,and checking with string operators like CA,will take too much time as the characters to be deleted are too many.

Please suggest..


Thanks in advance.


Regards

Answer:
concatenating strings is an urgent matter?
_________________
SapFans Moderator
NetWeaver ‘04–SAP Web AS for ORACLE certified

Search: /forums/search.php
SAP Notes: http://service.sap.com/notes
SAP Help: http://help.sap.com
Basic Rules: /forums/viewtopic.php?t=222759

Answer:
Have you looked at the TRANSLATE command
_________________
Only sheep and Tuly Idiots need a leader

Answer:
Since you will have to specify all the unwanted characters somewhere anyway, couldn't you use TRANSLATE, either just one long statement or even a series for readability:

*replace unwanted characters with a space then get rid of space...
translate mystring using '# $ % & '.
translate mystring using '( ) * ! @ '. "etcetera...
condense mystring.

Answer:
Thanks Guys inspite of your insults ...

Answer:
A simple "Thank you" would suffice, no need to get snippy to people who provide you with answers to a question which any competent ABAP programmer should have no need of asking...

Answer:
INSULT:evil: The only insult is that you don't the read rules of this forum but you expect our help . You got even lucky that your topic wasn't locked in the first place.

Urgent does certainly not apply to questions which can be solved by a single ABAP command. That sounds more like a bubble of competence is about to pop .
_________________
Only sheep and Tuly Idiots need a leader
Copyright ?2007 - 2008 www.jt77.com