convert [*] to the n with tab

Eric Chatonet eric.chatonet at sosmartsoftware.com
Mon Aug 29 05:54:08 EDT 2005


Hi Bob,

1. You have to enclose a text string with quotes
2. Square brackets have a special meaning in RegEx: you have to  
specify them preceded by a anti-slash to get them handled literally.

So, you could try:

put replaceText(field "preparsed","\[0\]",comma) into...

Le 29 août 05 à 11:48, rev at armbase.com a écrit :

> I used (without any luck)
> on mouseUp
> replaceText(field "preparsed",[0],comma)
> end mouseUp
>
> I get an error at [
>

Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list