I think something like this might work. (Its late so it may not be accurate but it furthers Gonzalos thought)
SELECT
(LEN(<varcharfield>) - (Len(Convert(int, <varcharfield>))))
From <table>
If the varchar length is 10 and is padded with 2 zeros the select statment above would return the result: 2
varchar Field length == 10
int field length == 8
difference == 2
hth
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========