cancel
Showing results for 
Search instead for 
Did you mean: 

How to Remove the , from the source field (Coding in UDF)

Former Member
0 Kudos

Hi,

from my source I'm getting the value like this (10,000) But i want to remove the , from the source and pass it to target filed.. for this.. what type of Code we need to write in a UDF..

Regards

Jain

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Read my Reply in this

Regards

Seshagiri

Answers (2)

Answers (2)

GabrielSagaya
Active Contributor
0 Kudos

1) You can opt FormatNum in standard function to remove ,

2) UDF -simple one

function myudf(String a,Container container)

{

a = a.replaceAll(",","");

return a;

}

Former Member
0 Kudos

Thank you guys,

this question actually i read in forums only.. but i did't see the next threads with the solution...

any way.. now i was cleared...

thanks

Jian

prateek
Active Contributor
0 Kudos

2 options

1. Use FormatNum

2. U can use replaceString function and replace , with ""

Regards,

Prateek