i am having a csv file and it is passed to the tokenize and
is passed to the three different fields without setting the
indices property.
my question is to which variable which value goes or all
the tokenized fields tobe passed?
for eg:santosh.giridhar_satish_satish.csv-->tokenize what
will happen
Answers were Sorted based on User's Feedback
Answer / siva subrahmanyam
pub.string.tokenize service takes 2 inputs, the string to be tokenzied and the delimiter character which is comma in this case as the file is .csv file.
It produces one output valueList at a stretch which is the array of strings tokenized from the inString.
I don't think there is scope to set indices property and map each value to one variable on the output.
Thanks
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / hukam bairwa
If indices value is not set and we directly map the valueList to some variables (three in this case), all three variables will have same value because it will take inital index value i.e 0th position value.
| Is This Answer Correct ? | 6 Yes | 3 No |
If your not setting indies property means. you will get the output below.
santosh.giridhar_satish_satish.csv
if delimeter _
0 santosh.giridhar
1 satish
2 satish.cs
| Is This Answer Correct ? | 3 Yes | 2 No |
What Happens When an Event Occurs?
How webMethods Developer Supports Tables?
what are client groups?
What Is a Lock?
When and why should we use transformers and flow services? How are they different from each other?
How to Know Who Has an Element Locked?
Is Source Control the Same as Locking?
How to Move Flow Steps?
if i have a parent sequence with the property set- exit on success, n the try sequence block set to exit on failure, n the catch sequence block too set to failure, what is the result?
can we invoke morethan one service in trigger?
When Should You Use Flow Diagram View?
post me important interview question on webmethods