It seems like my question is really simple and most likely duplicated but I coudn't find an answer.
Here is my string:
String s = "Bob age 30 height 190 and weight 80";
I need to get it to different field 30, 190 and 80. Age might be 9, height 99 and weight 101 so the method should be flexible.
String age = 30;
String height = 190;
String weight = 80;
How can I extract it?
I need to do it in Telend Open Studio and I there is no possibility to initialize and put it into array and then get it and put it to the string. I want to put 30 in age field and do the same with height and weight.