on 08-30-2010 7:24 AM
Hi folks
i have an issue please help me out. I need to get the substring from a string with runtime time value. In Mapping we have substring function,but their we have to defined it with a predefined parameter but for me it should take the runtime value from other function and get the substring, So guys please advise me.
Hi,
Go for UDF.
Choose 2 arguments:
var1 type : Int
var2 type:String
String s = var2.substring(0, var1);
return s;
(modify it according to ur req)
Thanks
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
suppose if your string is "abc12345" in this case what value you are seding to target system, tell me your substring starting position and ending position.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.