I have a variable with:

/Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk
/Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk
/Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk
/Users/hawk/bk_clients/test5/test5____________001.dhbk

which was obtained with a shell command and ls on OSX

Using replaceText() to replace ^/Users/hawk/bk_clients/ with empty, I get

blue aardvark/blue_aardvark____001.dhbk
/Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk
/Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk
/Users/hawk/bk_clients/test5/test5____________001.dhbk

That is, the ^ is only being applied to the variable as a whole, rather
than to each line.

Does this have to do with how livecode and OSX delimit lines?

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to