Uhm... ya, maybe next time you can answer in english?
Anyway, quasibobo,
you can user use a substring function in PHP to strip the chars before you feed them to the database, or you can let the database strip the three characters in the query itself.
As for the calculation, you can access all characters in a string asif the string was an array, so you can loop through them and do whatever you need to do.
A forum, a FAQ, email notification, what else do you need?