Thats Great ! Yes this is infact helped me. I was trying it in a much complicated way.
regards Rajeev Rumale ----- Original Message ----- From: "Shannon Murdoch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 6:50 PM Subject: Re: $variable manipulation question > I found a solution not long after using a loop of sorts. (and killed two > birds with one stone, as my next step was to put each item (space delimited) > into an array). > I made a loop saying, 'as long as $input still has characters in it, put > each one (one at a time) into the @front_chars array, then reverse the list > order so it's normal again.' > > $input = "1234"; > > while($input ne undef){ > push(@front_chars,chop($input)); > } > @front_chars = reverse @front_chars; > > Not sure if this is helpful to anyone, but it helped me.... > > > > Hi all, > > > > I'm trying to get a string (held in a variable) to have all it's characters > > spaced apart by a ' ' space. > > > > ie. $input's content changes from '1234' to '1 2 3 4' > > > > Is there some way to do this? > > > > cheers, > > -Shannon > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]