Flat File Delimiter Issue

“how to specify the string I´m looking for?”

What are you looking for?? specfying inString for the tokenize?? you got to do tricky for it. like first replacing linefeed in your file etc…and make as one big string …its a tedious process though…

-RMG

No…

I have already a stringlist, after using the pub.string.tokenize. Now I must search in this results (0,1,2…) util find the word ‘date’ in some of this fields.

One solution:

  1. Set a variable (ex. found) to false
  2. Use a LOOP to loop over the string list
  3. In the loop, use a BRANCH statement to check if ‘found’ is true
  4. If found is ‘true’, then it means that the current string in the list is the value you want. Map the string and EXIT the loop
  5. Still in the loop, use another BRANCH statement to see if the current string in the list is the label you want (ex. order). If so, then set ‘found’ to true.

Does this make sense?

  • Percio