The following line returns true as expected: *put* matchtext("abc", "^[ ]*") (zero or more spaces at start of string)
But the following: *put* replacetext("abc", "^[ ]*", "~") returns "abc", not "~abc" as expected. Any ideas? -- Kaveh Bazargan Director River Valley Technologies <http://rivervalleytechnologies.com/> • Twitter <https://twitter.com/kaveh1000> • LinkedIn <https://www.linkedin.com/in/bazargankaveh/> _______________________________________________ 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