Stuck On Regex (Again)

Bob Sneidar bobsneidar at iotecdigital.com
Mon Feb 23 11:52:59 EST 2015


NVM I discovered the regex is “\s+”

Bob S


> On Feb 23, 2015, at 08:48 , Bob Sneidar <bobsneidar at iotecdigital.com> wrote:
> 
> Hi all. 
> 
> In a regex expression, “\s" is supposed to work for white space. Hows come then, given that myVar contains "Availability  BatteryRechargeTime  BatteryStatus  Caption           Chemistry”:
> 
> put replaceText(myVar, "\s", space) into myVar
> 
> leaves myVar unchanged?
> 
> Bob S
> 
> 



More information about the Use-livecode mailing list