Hello guys, I need some help.
How can I get text a before a certain string of word?
For example,
“BOP AUTO STATUS” and the answer is “BOP”
“BCRC PER WRITE AUTO STATUS 06042020” and the is answer “BCRC PER WRITE”
I already found the answer in this topic How can I get text after certain string of word...can anyone help in this regard - #3 by saneeth_kandukuri
But Idk how to modify the IndexOf. Also, I can’t reply to the related topic bc it was closed.