Jump to content

[SOLVED] This string won't split!!!


Garethp

Recommended Posts

Okay, so I have an array of items which I want to split into Make and Model, with Whitespace seperating them, so I use

 

$Str = preg_split('/\s/', $Str);

 

But "Comedil CTL400"

 

Won't split. Most of the other strings splits, but this one and a couple others don't. I tried using

 

$Str = split(" ", $Str);

 

But that didn't work either. Help please?

Link to comment
https://forums.phpfreaks.com/topic/164622-solved-this-string-wont-split/
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.