check if string contains a substring

One Star

check if string contains a substring

hello every body,
i have juste a small question , how can i check  if string contains substring in talend 
Sixteen Stars

Re: check if string contains a substring

You can make use of any of the Java methods available. You might want to look at "indexOf" (http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#indexOf(java.lang.String))
Five Stars

Re: check if string contains a substring

you can use below function to check.. 
"String".contains("SubString")

Have look on StringHandling Routine it has many functions related to string operations.