var test= "Hi I am a fullstack developper"; var result= test.split("l"); //return: // [Hi I am a fu,,stack deve,lopper] /*the split methode replace the (letter/symbole) into the brackets to "," and transform it to array.*/