on 04-14-2010 10:10 AM
Hi all,
My requirements is not to use Split by value.I require a UDF code for the same.
Thanks,
Srinivasa
Use UDF of type "all values from a context" with one parameter var1
Here is the code:
for (int k = 0; k< var1.length; k++){
result.addValue(var1[k]);
if (k < var1.length -1)
result.addContextChange();
}
If you want to use it in a function of type "all values of the queue" it is more complex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
split by value(each value) is the same as below code. Use the standard split by value, if you have any specific reqmt , do let us know.
result.addValue("");
result.addContextChange();
raj
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.
Hi,
Why do you need a custom SplitBy function ? Does the standard one lack a feature ?
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.