in reply to Variable Removal From End of String

($a, $b, $c...) is a list and not a string, if that's the case, then you can pop them out of the array that you will put them in, if not, then your string would be like,

$string = "$a$b$c";
then you would have to check the length of the last 20 to substr your string to the desired length..

try to be more precise in your questions...

Update: jeroenes has already answered that...


He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/