0

I have this string:

This is,a good idea.

How to convert it to an array, and reserve its punctuation mark. I know str_split and preg_split, but none of them can have the ',' and '.' mark in the array, what I needed is to have this marks in the array as an element.

Thank you !

user7031
  • 435
  • 4
  • 16

0 Answers0