Does anybody know how to verify if a string contains at least two numbers in Talend using the Tmap component?
Example: The string "46 W Street, New York, NY 10033" is true since I have "46" and "10033"
Does anybody know how to verify if a string contains at least two numbers in Talend using the Tmap component?
Example: The string "46 W Street, New York, NY 10033" is true since I have "46" and "10033"
Joshua
On
I think i found how to do what you want, you can go to the java api link :https://docs.oracle.com/javase/7/docs/api/java/lang/String.html here you can find the contains methode wich return a boolean if there are the characters.
Copyright © 2021 Jogjafile Inc.
In the var section : - Declare a variable called
checkNumberthat have type abooleanThat have as value