|
-
Sep 17th, 2003, 08:01 PM
#1
Thread Starter
New Member
instr backwards ?
I`m trying to write a program to search for a word in a sentence but backwards !!
Take a scentence like this, I want to search for the word "ate" then extract the word monkey to the left of it.
"The monkey ate all the bananas"
For it to work in my program the way I want to I cant search between the words "The" & "ate" - hard to explain but i dont want it this way.
What the program needs to do is find the word "Ate" then work backwards untill it gets to the word "the" in the sentence.
as simply as possible, using either left,split,instr ect...
cheerz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|