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

quotation remove from field value?

Former Member
0 Likes
673

hi,

i have one field with value like 'ven"ki'.

I want to remove that quatation from that field value. How to remove it.

please help..

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
639

YOu can use the REPLACE.

Like:

DATA: L_VALUE(10)

REPLACE '"' INTO L_VALUE  WITH ' '.

Regards,

Naimesh Patel

hi,

i have one field with value like 'ven"ki'.

I want to remove that quatation from that field value. How to remove it.

please help..

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
640

YOu can use the REPLACE.

Like:

DATA: L_VALUE(10)

REPLACE '"' INTO L_VALUE  WITH ' '.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
639

Another way.

TRANSLATE V_STRING using '" '.

Regards,

Ravi Kanth Talagana

Read only

Former Member
0 Likes
639

If you don't want spaces:

DATA: f1(10) VALUE 'ven"ki'.
REPLACE ALL OCCURRENCES OF '"' IN f1 WITH ''.

Rob