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:

[biotype]

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

F.A.Q

A compilation of some user's questions...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

Technical Change History

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

WebDNA reference

...

Related Readings:

Setting a 30-minute Cookie

Configuring the expires time for a short-term cookie is tricky...

WebDNA Google Map Mashup

Generate a Google map with pins on your database addresses...

Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text...

Using a simple Array of Variables with [interpret]

The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...

Removing whitespace

How can I remove all whitespace entered by a user from an input box (ie card number)...

Check the Federal Government's Social Security database

The script on the page will check the federal government's social security database...