Split String

Posted By: Ian on Mar 09, 2011 in JavaScript, Snippets
Last modified on November 7th, 2013 at 5:34 pm,

Why might you need to use the split string function?
Well imagine you have a load of keywords separated by commas you want to list individually or like in the example above separate your users full name to maybe greet them by there first name then this is ideal.

Do remember all this is Client Side and if your looking for server side PHP split string you need the explode function.

Try Me

Download .rar

Download .zip

AnonymousIan.J.Gough

Did this help you? Please Let me know by commenting below even if it’s just to say “Thanks”

leave a comment

About This Site

Dreams are built from lines of code well it's true!
If you can dream it you can usually code it.

I have learned so much from other people on the Internet and this site is for me to give back some of what i have learned and hope people can now learn from me.
Have fun and surf safely,
Ian.J.Gough

protected by copyscape duplicate content check

Categories


Powered by Banner Bar 125