To search for occurence of more than one character in string

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Saipriya
Participant
Posts: 1
Joined: Thu Jul 24, 2014 8:39 am

To search for occurence of more than one character in string

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
stuartjvnorton
Participant
Posts: 527
Joined: Thu Apr 19, 2007 1:25 am
Location: Melbourne

Post 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.
Last edited by stuartjvnorton on Wed Aug 20, 2014 6:20 pm, edited 1 time in total.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

Index(original_string, substring_sought, occurrence)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply