Consider the a document containing only:
John Doe, Ph.D., is a scientist.
As expected, "ActiveDocument.Words(1).Text" return "John". However,
"ActiveDocument.Sentences(1).Text" returns "," and the second sentence is
returned as "is a scientist".
Is this a bug? Am I missing something here?
Word Heretic - 10 Apr 2005 23:05 GMT
G'day "TT" <tomtatham@comcast.net>,
Correct, Word's native parsing does not handle sentences properly and
assumes a period is always a terminator.
Thus, Would Dr. T. Smith come at 10.00 for 15.6 minutes causes total
havoc.
I think I ended up doing 9 specific tests to ensure end of sentence
conditions.
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
TT reckoned:
>Consider the a document containing only:
>John Doe, Ph.D., is a scientist.
[quoted text clipped - 4 lines]
>
>Is this a bug? Am I missing something here?