on 11-12-2018 8:20 PM
A simple solution that always works, independently from the position of the number in the string:
regex_replace(regex_replace( ItemText, '^.*22', '22'),' .*','')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muhammad,
Extraction is your resultant column and code for this mapping is:
rtrim_blanks(
ltrim_blanks(
substr(
(substr( TC.itemtext,index( TC.itemtext,22,1),length( TC.itemtext))),1,
index(
substr( TC.itemtext,index( TC.itemtext,22,1),length( TC.itemtext)),' ',1)-1)))
Final result:
Let us know if it helps!
Thanks,
Rajan 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.