on 11-09-2006 7:06 AM
Hi,
I have a situation here where i need to remove the leading zeros from the incoming data.
i.e if 0009 then it should be taken as 9
if 0230 it should be taken as 230
Regards,
Ashish
Hi
Use a user-defined (java)function .
Rgds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Write UDF to parse data .
String dataVal="0230";
int parseVal = Integer.parseInt(dataVal);
System.out.println("parseVal is "+parseVal);
result.addValue(parseVal); or return parseVal;
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
there is no standard function in graphical mapping.
You have to write a UDF.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.