Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    In what language? php? Please add an appropriate tag to your question. Commented Mar 2, 2013 at 13:17
  • 3
    ehm... isn't your variable $string the result you want? Commented Mar 2, 2013 at 14:10
  • $arrayOfStrings = array($string[0], $string[1], $string[2], $string[3]); ?? Commented Mar 2, 2013 at 15:01