on 09-25-2017 4:13 PM
Hello Experts,
I am trying to extract specific character from a string field. Data format example:
/southwest/science/samuel, john, 23445/
/northwest/english/larry, dan, 38543/
from above i just need to extract Science and English.
Your help will be appreciated.
Thanks
Assuming they are always in front of the third / this will give you what you want, replace text with your field
split('/southwest/science/samuel, john, 23445/','/')[3]
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.