Substring-esque function

R

Raman325

Hi, I am trying to create a function that, when given a string, can
return a substring from this string. The strings I will be passing to
the function are formatted as following: "text to return Procedure
extra garbage." Basically, the only word that I know will be in there
for sure is Procedure, and I want to return everything before that,
regardless of what's after it. Is this possible, and if so, how? Thanks
in advance for your help and I apologize if this is a dumb question.

-Raman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top