Page 1 of 1

To search for occurence of more than one character in string

Posted: Wed Aug 20, 2014 8:41 am
by Saipriya
Hi everyone,
I would like to check for occurrence of 6 different kinds of characters in a given string. Can anyone of you please tell me how to do this in datastage. Please let me know if I can use any string functions to achieve this.

Posted: Wed Aug 20, 2014 8:46 am
by chulett
Can you give us some specific examples of what you need to do? Should be perfectly feasible, I'd just like more certainty around what "6 different kinds of characters" means.

Posted: Wed Aug 20, 2014 6:18 pm
by stuartjvnorton
Google "password strength checker algorithm" and see what you come up with.
You probably won't find your homework already complete, but you should at least get some ideas to proceed.

Posted: Wed Aug 20, 2014 9:33 pm
by ray.wurlod

Code: Select all

Index(original_string, substring_sought, occurrence)