string formula

Geordie2008

Registered User.
Local time
Today, 23:10
Joined
Mar 25, 2008
Messages
177
Hello's

I have a huge strings of text in a column. When the word "exclude" is found in the text I want to print all of the text to the right of it into a new column.... can anyone help me with the formula please?

Tnx,
M
 
Will you only encounter the 'exclude' word once or could it be in the text muliple times?
 
yep - only once

Tnx,
M
 
Look up the INSTR and SPLIT functions in Access Help. You may need to look at the RIGHT function as well
 
Yeah, What Rab said :p

Basically use instr to get the location of the word then embed that in the 'right' funtion to tell it where to start grabbing text - :)
 
x = "The intent of this is to exclude all non-readers and non-spellers."
y = trim(mid(x, instr(x, "exclude")+ len("exclude")))
? y
all non-readers and non-spellers.

HTH - Bob
 

Users who are viewing this thread

Back
Top Bottom