On Wed, Jul 25, 2001 at 11:43:34PM -0000, John Fox wrote:
> Remember that you split on a regular expression, not a single character. As
> such, you can split on the regex ' +', which stands for 'one or more
> consecutive spaces', as opposed to ' ', which stands for 'one space'.
When referring to a regular expression, the above is true. However, split
behaves differently if the first argument is " " (i.e. a string consisting
of a single space); it will split on any amount of whitespace, and strip off
a leading empty field.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]