Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Special Character

Former Member
0 Likes
938

Hi,

Is there any data type which contains all special character like @,#,$,%,^,&,*. I have to remove those records which contains these characters. I can use CA string operator. But is if there any better option then please help me.

Thanks,

Sandeep Garg

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
821

Hi Sandeep,

There are not special data types to handle these special characters. Its only datatype CHAR that is used.

Using string operators (CA, CS etc..) is the best option, as you would not miss any of those.

Best Regards,

Ram.

Hi,

Is there any data type which contains all special character like @,#,$,%,^,&,*. I have to remove those records which contains these characters. I can use CA string operator. But is if there any better option then please help me.

Thanks,

Sandeep Garg

4 REPLIES 4
Read only

Former Member
0 Likes
822

Hi Sandeep,

There are not special data types to handle these special characters. Its only datatype CHAR that is used.

Using string operators (CA, CS etc..) is the best option, as you would not miss any of those.

Best Regards,

Ram.

Read only

Former Member
0 Likes
821

Hi,

There is no datatype which can support the above specified characters.

If u have to delete those records which contains these characters you can do it as

if var cs '@,#,$,%,^,&,*'.

delete it

end if

Hope it works out.

Thanks & Regards

Read only

Former Member
0 Likes
821

Function module 'SCP_REPLACE_STRANGE_CHARS' replaces non-standard characters with standard characters.

INTEXT contains the text to be processed. The parameters passed must be of TYPE C. Blank characters at the end of INTEXT are not processed.

The result is written in OUTTEXT.

eg intext can contain special char like 'éñÉÍüúáéíó' then outtext will contain 'enEIuuaeio'.

if you do not want to replace,try to keep outtext as empty.

Read only

Former Member
0 Likes
821

Hi,

I think no other option will serve you better than CA, as all these special characters belong to CHAR data type only.

By the way are having any problem while using CA??

Thanks