on 10-06-2023 10:02 AM
Hi Team,
I have a string(VAKEY) which can have 4 or 5 or 6 words and i want to capture the 4th word from that string.
in the above VAKEY the words are seperated by spaces , it can be seperated by 2 spaces or 3 spaces or 4 spaces.
I want to split the VAKEY into lv_v1 , lv_v2 , lv_v3 etc..
In the above pic I want 4th word 065-0004 from that total VAKEY string.
Note: Sometimes 4th word value may not come also , as you can observe in the first line
can you guide me to do so.
Thanks,
Priya Ramani.
You can split intto table and delete Space rows and read the row with index 4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
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.