|
#1
|
|||
|
|||
|
Is there formatted string (i.e., printf) capability?
I need to produce columnar String data, where each column is supposed to be a certain number of characters in width (padded with spaces as needed). This is something that printf() excels at, but I do not find any formatting capability in True Update 2.0. I suppose I could write my own using String.Length, String.Repeat, String.Concat, etc., but perhaps TU already supports this operation in some form. How can I create formatted Strings in True Update 2.0?
Thanks for any ideas. Regards, Ken Gartner |
|
#2
|
||||
|
||||
|
The underlying Lua language has string.format (note the lower-case syntax). It works identically to printf. Look here:
http://www.lua.org/manual/5.0/manual.html#5.3 |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| attempt to index a string value | csd214 | AutoPlay Media Studio 5.0 | 8 | 08-08-2004 02:23 AM |
All times are GMT -6. The time now is 07:31 PM.






Linear Mode

