<tabs> in the editor(s)

Tereza Snyder tereza at califex.com
Sun Jul 10 14:21:59 CDT 2005


On putting tabs into output, Alex Tweedly wrote:

> I usually do something like
>
> local myVar = "1,2,3"
> ....
> replace comma by TAB in myVar
> ....
>
> though I have been known to do
>
>
>>   put "asd\twer" into a
>>   replace "\t" with TAB in a
>>
>
>


Don't forget the "format" function, which will replace "\t" and "\n"  
with tabs and newlines AND can format numbers as you like 'em. Great  
for creating a table of values, Jon.

put format("asd\twer") into a

t




-- 
Tereza Snyder

    Califex Software, Inc.
    800 Water Street
    Sauk City, WI 53583
    608.643.2586



More information about the use-livecode mailing list