Multiple Line SQL for MySQL?

Peter Reid preid at reidit.co.uk
Sat Apr 2 05:16:34 EST 2005


>I use an alternative trim function that operates faster and removes 
>excess space between words as well as at the start & end:
>
>function trim pText
>   put empty into tNew
>   repeat for each word w in pText
>     put w & space after tNew
>   end repeat
>   delete last char of tNew
>   return tNew
>end trim
>
>Cheers,
>Sarah

Hi Sarah

Thanks for the tips etc. things seem to be moving along with the 
MySQL-based project now.

Cheers

Peter
-- 
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576
E-mail: preid at reidit.co.uk
         preid at reidit.demon.co.uk
Web: http://www.reidit.co.uk
      http://www.reidit.demon.co.uk


More information about the use-livecode mailing list