Page 1 of 1

pattern matching

Posted: Fri Feb 17, 2012 4:16 pm
by pavan_test
Can someone please let me know how can I perform pattern matching in datastage.

I have a string such as "capital city is AUSTIN"

I have to find if the incoming string has "AUSTIN" (always in caps) and if it find a match then write "AUSTIN" to output.

Thanks & Regards
Pavan

Posted: Fri Feb 17, 2012 4:46 pm
by chulett
Use Index() to perform a substring match.