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:

WebDNA reference

...

F.A.Q

A compilation of some user's questions...

Download WebDNA Applications

WebDNA applications...

[biotype]

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

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

ImageMagick

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

Cloning a Record

Often...

Write Once Use Many

Reuse the same code over and over again on your site with the [include] context...

How to setup CODA to work with WebDNA?

This page will show graphically how to setup CODA as a WebDNA partner :-)...

Using a simple Array of Variables with [interpret]

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

Hideif on IP range

This will show or hide stuff according to the IP...