+ 9
split function?
what it does
4 Answers
+ 8
split a string characters into an array by a delimiter
for example
st = "this is a string";
sp = st.split(" "); // delimiter is a space character
// sp = ["this", "is", "a", "string"]
+ 7
ok it make sense i ll solve the question now on quizes thx @burey @claudio
+ 5
split a string into an array, given a separator