Jump to content

Separation of String in php


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...