i have a string like
“firstname of test”
how can i extract the word before ‘of’?
also i cannot use the substring method as the firstname will constantly change
Split it by giving “of” and then take the zero index. So you will get the string which will be before the keyword “of”
Split(strVar,“of”)(0)
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.