I've got a problem.
I'm reading to a string from System.currentDirectory() and when browsing in too deep within the file structure the printed string runs off the screen.
I have a solution for this, simply splitting the string by '/' into an array and reading on the last 3-4 values (if it's possible to array.length or similar by looping).
The problem is, how do I split this string into an array. I found some code in Lowser that changes all the '/' into '>'. Is it a varianton this function?
Any help would be appreciated.