I have a string with a lot of characters. I would like to split the string into 2 sub-strings. I don't need to use getfirsthalf() and getsecondhalf(), but that is the idea of what i need to achieve.
var compleet = "This is the string with a lot of characters";
var part1 = compleet.getFirstHalf();
var part2 = compleet.getSecondHalf()
//output
var part1 = "This is the string wi";
var part2 = "th a lot of characters";