there area few, depending on what you want to split the variable up by (e.g a delimeter, a number of characters)
Yes, but implementation really depends on variable type. Supply more details if you want to get an answer.
you can split in various ways i personally like explode (which separates by delimiter [in my example below : a space] into an array) $newvar = explode(" ",$var); echo $newvar[0];
more details... the variable to long and so when i request it via XMLHTTPREQUEST, it gets cut off by firefox. However, If I split the variable, and then request two to three separate variables, I dont run into the problem. Codeber's method should work just fine. Thanks Codeber
codeber, thats not the way to split up a variable, thats the way to split up a string in the variable.. Thanx