programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
ProgrammingFAQs

how to split the string with delimitor in javascript

we can split the string with

we can split the string with split function

var my_str = 'php,java,jquery';

var arr_str = my_str.split(",");

arr_str contains all the names like

arr_str['0'] = php
arr_str['1'] = java
arr_str['2'] = jquery