I'm trying to split a string in two parts with the separators "T" & "L".
T49.80000305175781L60.00000190734863
So, I'm expecting an array with these elements:
["49.80000305175781","60.00000190734863"]
I have tried these but they don't work.
var xPos = xPos.split('T', 'L'); //Returns empty
var xPos = xPos.split(/T/, /L/); //Returns empty
var xPos = xPos.split(/T/); //Returns: ["", "49.80000305175781L60.00000190734863"]
What should be the best approach?