Jump to content

I Need to install split() on php7


Recommended Posts

split() worked using POSIX regular expressions, so you might need to look up what you find sometimes.

 

However \n is a literal character and doesn't need regular expressions.

explode("\n", $foo)
"\|" is a literal pipe character and doesn't need regular expressions either.

explode("|", $bar)
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.