Brandon Armstead writes: > i.e. strip_tail(strlen($ru) - 2); ... or something like such. sorry, but my suggestion substr($ru, -2, 2) does not work, since it returns the last two chars of $ru not the remaining chars. strlen is indeed needed for the above. using php substr and strlen strip_tail(strlen($ru) - 2) becomes substr($ru, 0, strlen($ru) - 2) -- juha