Prog question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 2005

    Prog question



    I need to separate the first sentence from a para - the para could end
    with !, . or carriage rtn.

    What is the best way to detect the end of first sentence in C lang?

    Later I need to do it for first paragraph.
  • Walter Roberson

    #2
    Re: Prog question

    In article <5cf54b2f-4b78-40cd-9e1a-283c09a593c8@w5 g2000prd.google groups.com>,
    2005 <FW3006@sbcglob al.netwrote:
    >I need to separate the first sentence from a para - the para could end
    >with !, . or carriage rtn.
    >What is the best way to detect the end of first sentence in C lang?
    Is the above not a paragraph? It ends with a '?' which wasn't one of
    your options, so ??
    >Later I need to do it for first paragraph.
    Get back to us when you can describe the rules that allow the following
    to be a single sentance:


    Mr. Todd E. Jones gave $3000. (!) in nickels, dimes, etc. to his
    No. 1 son at 4 7th Ave. N., NY. NY. USA., who exclaimed "What joy!
    Now I can buy 3 lbs. of St. Tropiz bananas... or can I?!"
    --
    "Tired minds don't plan well. Sleep first, plan later."
    -- Walter Reisch

    Comment

    Working...