Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Constant size string variable?

From: bpaddock::csonline::net at: 1-Dec-2001 17:03

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 always ten characters long. A variable number of digits or letters from 1 to 10 might be entered in a dialog box. If less than ten are entered those character positions are filled with a plus sign (+) preceding the numbers. Examples: ++++++++++ [10 of them] +++++++++1 ++++++4321 +987654321 What is the best way to do this in Rebol?