php preg_split functionality

aqtogh4hat

New Member
is there a way to understand the following logic contained in the splitting pattern:
\[code\]preg_split("/[\s,]+/", "hypertext language, programming");\[/code\]in the grand scheme of things i understand what it is doing, but i really want a granular understand of how to use the escapes and special character notation. is there a granular explanation of this anywhere? if not could someone please provide a breakdown of how this works. it is something very useful, and something i would like to have completely under in my belt so to speak.
 
Back
Top