I've recently discussed with a colleague how the separator of String.split
is treated internally by JavaScript.
Is the separator always converted into a regular expression? E.g. will calling String.split(",", myvar)
convert the ","
into a regualar expression matching that string?