Ok, im using an off site script, and i want to manipulate it.
This is in java script though, and i want to get it out of it as normal HTML, and explode the lines and also trim each line.
I know how to explode the variable i have made the code i want to manipulate. But now, i want some code that would trim each one for me... like the "while" used in a mysql query however i dont know how to fudge that onto this application.
such as i have:
document.write('blah blah')
etc etc in java
ive stripped the document.write and expoded it, now i would like to trim each variable to say 15 charachters and then echo them all or join them back togeather and echo that
Any help would be greatly appreciated!