Jump to content

Separation of String in php


pankaj.ghadge

Recommended Posts

Suppose a string contains values separated by comma and spaces.e.g; c,c++,java,php unix linux mba I want to split this string by comma and space But by using split function we can separate it by comma or by space . I want want separation by both. I am doing a search module and user may pass the value separated by comma and by space.That's why i required it .please help me.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...