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

convert the no without special char

Former Member
0 Likes
502

Hi,

how to convert the no without special characters??

tell me that exactcode.

Thanks

p.srikanth

1 ACCEPTED SOLUTION
Read only

former_member673464
Active Contributor
0 Likes
479

hi

convert char to numc only numeric characters will be transfered.

regards,

veeresh

hi

convert char to numc only numeric characters will be transfered.

regards,

veeresh

2 REPLIES 2
Read only

Former Member
0 Likes
479

try like this.

data : text (30) type c value '2@2541.>5',

len type i,

pos type i,

vchar

ftext(30).

len = strlen( text ).

do len times.

vchar = text+pos(1).

if vchar ca '1234567890'.

cocatenate ftext vchar into ftext.

endif.

pos = pos + 1.

enddo.

write : / ftext.

if it is not satisfying your requiremen please tell us with some test data..

regards

shiba dutta

Read only

former_member673464
Active Contributor
0 Likes
480

hi

convert char to numc only numeric characters will be transfered.

regards,

veeresh