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



i am having a csv file and it is passed to the tokenize and is passed to the three different field..

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

i am having a csv file and it is passed to the tokenize and is passed to the three different field..

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

i am having a csv file and it is passed to the tokenize and is passed to the three different field..

Answer / cvramanagupta

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

Post New Answer

More WebMethods Interview Questions

What Is Dimensionality?

2 Answers  


How to Change the Order of Steps in a Flow Service?

1 Answers  


scenario: i have a loop A, under which i have a child loop B, under which i have a Branch with few services with a condition. if a condition is satisfied , then i need my branch to exit from loop B, what should i do?

2 Answers   IBM,


Can u please tell me abt WebMethods in brief

3 Answers  


Explain header handlers in web services

0 Answers   CTS, Satyam,






what is difference between groups and ACL groups

1 Answers   TCS,


By how many ways can we invoke a service?

5 Answers   WestRock,


What Is a Flow Step?

2 Answers  


When Is a Copy of the Input Pipeline Saved in the Audit Log?

1 Answers  


can any one please post Q and Ans for Trading Networks in webMethods

0 Answers   TCS,


can anyone explain in brief about TN Consloe and Webmethods...? As well as All flow steps in webmethods: Branch Repeat Loop Sequence (explain also Try -Catch block for error Handling)

0 Answers   Polaris,


what is difference between invoke & transformers 

5 Answers  


Categories