string format

Charles Hartman charles.hartman at conncoll.edu
Sat Aug 27 20:16:31 EDT 2005


On Aug 27, 2005, at 7:49 PM, Alex Tweedly wrote:

> The format function is indeed very useful - but I don't think it  
> can be used to solve the particular problem of adding spaces after  
> a string to fill it out to a specified length.
>
> Or at least - when I was looking at the problem the other day, one  
> of the alternatives I considered was "format", but I couldn't see a  
> way to use it to solve this problem :-)

It would work if the "incantation" argument of format() would accept  
a variable name, but I can't find a way to make it do that . . .

Charles




More information about the use-livecode mailing list