<cfset capText = REReplace(text,"\b(\w+(\(e?s\))?)","\u\1","ALL")>
Pascal
> -----Original Message-----
> From: Deanna Schneider [mailto:[EMAIL PROTECTED]
> Sent: maandag 19 april 2004 23:00
> To: CF-Talk
> Subject: Re: CapFirst UDF
>
> Pascal,
> Very sweet. But, is there any way to say "unless the thing in
> parens is s or es" - in other words, this will turn this:
>
> adult(s)
> into
> Adult(S)
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

