convert to lower ascii 128?

J. Landman Gay jacque at hyperactivesw.com
Wed Feb 4 17:27:47 EST 2009


Chipp Walters wrote:
> Anyone know of a quick way to convert a string to only lower ascii 128?
> (Deletes anything above).
> I'm hoping for something other than a repeat for each char loop.

Yes and no. I know what I'd do, but don't know the regular expression 
off the top of my head.

I think what you want is a replaceText() function that passes the 
correct hex numbers for ascii 0-128 and replaces anything not in that 
range with empty.

Maybe Ken Ray will see this and jump in, he's the pro with regular 
expressions.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the Use-livecode mailing list