in reply to Re: loop through values in a string and print " " around each value.
in thread loop through values in a string and print " " around each value.

Oh my gosh... That's so awesome !!! lol... I need to look up "qq" Thanks a bunch !!!! This is so clean and perfect!
  • Comment on Re^2: loop through values in a string and print " " around each value.

Replies are listed 'Best First'.
Re^3: loop through values in a string and print " " around each value.
by ikegami (Patriarch) on Jan 12, 2007 at 02:17 UTC

    The following are all the same:
    "..."
    qq{...}
    qq(...)
    qq!...!
    qq!...!
    etc

    qq is just a double-quoted string, without using double quotes.

    qq{"bla"}
    is easier to read than
    "\"bla\""

      oh, thanks !
Re^3: loop through values in a string and print " " around each value.
by kevyt (Scribe) on Jan 12, 2007 at 02:57 UTC
    oops, this did not work... I need the " " around every line:
    "Leesville,TX,78122,830,48177,Gonzales,P,"
    vs
    "Leesville","TX","78122","830","48177","Gonzales","P",