Hi,
How do I parse out the 5th word in a string?
ie.
This is a sentence in my string.
to
This is a sentence in
thanks.
I should clarify, make each string and parse it to only the first 5 words. Not parse it out.
@binuacs your method is making anything less then 5 words become blank.
@wonka1234 my understanding was you need the output as 'This is a sentence in' from the input 'This is a sentence in my string'?
Hi, @wonka1234
Please take a look at the below.
Please also mark it as an acceptable solution if it works for you.