Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2005

Tip: Looking for answers? Try searching our database.

Strange Delineation of Sentences

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TT - 08 Apr 2005 18:57 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.