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

how to configure sap adapter 4.1

0 Answers   Accenture, HCL,


What Is a Shutdown Service?

2 Answers  


If v want to run the server with some other port number , what v need to do ?? Developer:

3 Answers   IBM,


what are the new features in 8.0 compared to 7.1?

4 Answers   Satyam,


Can u please tell me abt WebMethods in brief

3 Answers  






In which case we are not advised to use Transformers...?

3 Answers  


If i have to move packages from one IS to another, which process would u suggest, is it thru wmDeployer or someother processes like publish/subscribe?

5 Answers   IBM,


what is the difference between Schema and SchemaDT

2 Answers  


what is the difference between lexical ooperators,logical operators?which one is mainly used in filter,broker?why?

2 Answers   Emphasis, HCL, iGate,


What Happens When a Client Runs a Service with ACLs?

1 Answers  


how can try and catch block can be implemented using web methods developer ? tell the steps to implement it?

3 Answers   Interra IT,


How to Know Who Has an Element Locked?

3 Answers  


Categories