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: [EMAIL PROTECTED]
        [EMAIL PROTECTED]
Web: http://www.reidit.co.uk
     http://www.reidit.demon.co.uk
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to