comment Posted April 10, 2005 Posted April 10, 2005 Hint: count the periods in the part that ends with "Category".
BobWeaver Posted April 10, 2005 Posted April 10, 2005 Also the Position function has a start parameter which allows you to ignore all occurrences prior to the one you want. So: SentenceStart= Position(ParagraphText;"Category";1;1) SentenceEnd=Position(ParagraphText;"."; SentenceStart;1) SentenceText=Middle(ParagraphText; SentenceStart; SentenceEnd-SentenceStart+1)
Recommended Posts
This topic is 7235 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