excel - Identify pattern in words -


i have question believe quite simple, don't know proper way it.

basically, program able identify words pattern in it, , if so, extract what's before pattern.

the pattern be, in case /f, @ end of word, , extract what's before.

for example, if program finds 21/f, identify match , extract 21. if word 21/fudge, wouldn't anything.

do know way match @ specific position in word?

i do:

if str "*/f"     before=left(str, len(str)-len("/f")) else     'no match! end if 

Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -