This works fine for letters, but does not seem to put " (quotation
marks) into an array.
There’s nothing special about letters verses punctuation in the above
code. Are you talking about the quotes that surround the string; i.e.,
string = “this is a string” ?
Have you escaped the double-quotation mark " with a back-splash like “I
escape the " with a back splash” ? Or, you can try other delimiters
like quotation mark ’ or use a word array instead, like %w{this is an
word array}.
On Thu, Jun 14, 2012 at 07:08:33PM +0900, Scott W. wrote:
Have you escaped the double-quotation mark " with a back-splash like “I
escape the " with a back splash” ? Or, you can try other delimiters
like quotation mark ’ or use a word array instead, like %w{this is an
word array}.