on 09-22-2016 5:15 PM
Dear Team,
This is basically IDOC-FILE(.csv) conversion.
'MATNR' field populates with following special characters which has to be replaced with space.
, # \ "
Please help on this. Thank you very much in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rajesh,
Try the below code
String Out= Input.replaceAll("[#\]","");
return Out;
add all the required special characters in the square braces
If you will get only # \ then you can use normal mapping functions like replace string and achieve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this :
return var1.replaceAll("[^a-zA-Z0-9]","");
This will replace all the special characters.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.