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

remove '#' symbol

Former Member
0 Likes
283

Dear All,

Please assist me to remove '#' symbol within my text. example 'A###B###C' and replace the '#' with space. tq

Moderator message: very basic, please search for available information, study ABAP documentation before asking

Edited by: Thomas Zloch on Feb 24, 2011 10:48 AM

1 REPLY 1
Read only

GauthamV
Active Contributor
0 Likes
260

Try this.


DATA: var TYPE string.

START-OF-SELECTION.

  var = 'A###B###C'.
  REPLACE ALL OCCURRENCES OF '#' IN var WITH space.
  WRITE: var.