Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text. The sentence will end with a period, exclamation point, or question mark followed by a space.

numero = 46
interpreted = N
texte =
[listwords]
when used with "delimiters" can redefine the meaning of what a word is.
[listwords words=[your words go here]&delimiters=.!?][showif [index]=1]The first sentence is:  [word][/showif][/listwords]
[listwords]
when used with "delimiters" can redefine the meaning of what a word is.
[listwords words=[your words go here]&delimiters=.!?]
[showif [index]=1]
The first sentence is: [word]
[/showif]
[/listwords]
Joe D'Andrea

DOWNLOAD WEBDNA NOW!

Top Articles:

Tips and Tricks

A list of user-submitted tips ...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

WebDNA reference

...

F.A.Q

A compilation of some user's questions...

WebDNA Libraries

A list of available libraries for WebDNA...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Related Readings:

Database backup

How to make a backup of your databases...

WebDNA interaction with zip

I have a project where I'm allowing several people to upload images...

ImageMagick

Use ImageMagick to manipulate images when you upload them...

Export data to Excel

Here's a handy way to export your data to a text or Excel file...

Paypal IPN

...

Spaghetti code

How to get rid of very long search strings...