I am trying to split the following string and others like it…“Available - 10’ x 10’”
I want to get a string that contains the first 12 characters of the above example…so "Available - "
var temp:String = _global.exName[j-1].split(" - ")[0];
returns “Available”…the closest I have gotten is by typing split("- ") which yields "Available "…i need the "- " in there too though…and I want to do this without having to loop through an array to concatenate a string…is this possible?