cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Mapping

Former Member
0 Kudos

Could you help how to remove Symbol in mapping?

sai@kiran

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kiran,

Could you please be more specific?

What symbol and where do you want to remove it from?

regards

Ramesh

Answers (3)

Answers (3)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

All points have been unassigned by the Moderator due to suspected point gaming. Please desist or your user will be blocked.

Regards

Moderator

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

You can use the standard text function called replaceString for your requirement.

Hope this helps,

Mark

Former Member
0 Kudos

HI sai,

might be that is possaible wiyh simple udf. I dont know ur requirement because you are not providing specific details just said symbol .

for ex: symbol is 'decimal'

String RemoveDecimal(String val, Container container) throws StreamTransformationException{

String temp;

temp = val.trim();

// put the sign in front

//if(val.contains("-"))

temp = val.replace(".", "") ;

val = temp;

return val;

thanks,