Gary1478 Posted July 21, 2007 Posted July 21, 2007 Does any have a quick calculation when trying to get all the text left of a specific word in a field? In this case the word is "time". Thanks. Gary
JesseSFR Posted July 21, 2007 Posted July 21, 2007 (edited) name: Left Of parameters: string, matchstring definition: Let( FirstCharOfMatchString = Position ( string; matchstring ; 1 ; 1 ); Left( string; FirstCharOfMatchString - 1 ) ) All you have to do is pass the string you are `searching for` as matchstring and the string you are `searching` as string. As an example: Left Of ( "This post was just in time to fix the problem" ; " time" ) would return "This post was just in ". A caveat to this approach is that it will match words like timely or multimedia Edited July 21, 2007 by Guest
Recommended Posts
This topic is 6395 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now