on 06-17-2011 7:52 AM
Hi Gurus,
I have this requirement wherein I have to split a string into different contexts of this one output field. Splitting will be based on the "/" delimiter.
Example:
Source field - xxx/yyy/zzz
Target field (current without UDF) - xxx/yyy/zzz
I need a UDF wherein the values should split into 3 different contexts of the field.
Target field - xxx
Target field - yyy
Target field - zzz
Is this possible?
Thanks all for your replies!
String[] var = input.split("/");
for(int i=0;i<var.length;i++)
{
result.addValue(var<i>);
if(i<var.length-1)
{
result.addValue(ResultList.CC);
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please provide the source and target structure here?
Regards,
Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.