Hi Bob,
Once upon a time Bob Paddock spoketh thus:
..
I need a string variable that is always ten characters long.
..
Examples:
++ [10 of them]
+1
++4321
+987654321
Here're some ideas to get you going ...
; Version 1
fillers: ++
== ++
str: 677
++4321
What is the best way to do this in Rebol?
This ? ...
pad/right/with input 10 #+
4321
== ++4321
Luis.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with unsubscribe in the
subject, without the quotes.
Hi Luis,
pad/right/with input 10 #+
4321
== ++4321
I don't have a PAD function in my installation. Maybe you have some special
library called in your user.r ?
Brett.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with unsubscribe in the
subject, without
Hi Luis,
pad/right/with input 10 #+
4321
== ++4321
I don't have a PAD function in my installation. Maybe you have some
special
library called in your user.r ?
Brett.
Ooops ...
http://anton.idatam.com.au/rebol/library/pad.r
From Desktop/Rebol.com/Sites/Anton/The real
pad: ++
== ++
str: 123
== 123
insert str skip pad (length? str)
== 123
str
== +++123
seems ok
On Sat, 1 Dec 2001, Bob Paddock wrote:
Once again I'm working on my patent downloading script, that you can now
find in the library.
I need a string variable that is