Only if ending spaces were intended to be dashes, which I understood to not
be the case (as the original code would have done that, and was apparently
wrong, according to the original message).

On 10/18/07, Aaron Rouse <[EMAIL PROTECTED]> wrote:
>
> Problem with trim is it gets rid of the spaces that should have been
> turned
> into dashes.
>
> On 10/18/07, morgan l <[EMAIL PROTECTED]> wrote:
> >
> > Trim(String) will get rid of leading or trailing spaces. You may need a
> > RegEx and use ReReplace() if you want to replace multiple connsecutive
> > spaces with just a single dash though. RegEx is not my bag, so I can't
> > help
> > with specifics.
> >
> >
>
> --
> Aaron Rouse
> http://www.happyhacker.com/
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291475
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to