Re: adding spaces
Re: adding spaces
- Subject: Re: adding spaces
- From: Tim Mansour <email@hidden>
- Date: Tue, 26 Aug 2003 17:12:34 +1000
I need to take a piece of data and ensure it is a
specific character length. If the number of charaters
are less than those required then I need to fill the
rest with spaces
Actually, you don't need any kind of repeat. Assuming you want the
spaces at the end, all you need is:
set headText to text 1 thru 20 of (headText & " ")
... and put (at least) 20 spaces between the quotes.
--
Tim Mansour <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.