Question
how to strip extra spaces
I have a cfinput bound to a cfgrid based on a DB query. The
zip field in the DB has a length of 20 chars. When the zip binds to
my cfinput it pulls the data, including the extra spaces after it,
for instance "02134 ". My cfinput zip field validates for ZIP, so
the validation fails because of the extra spaces. Is there a way to
strip these??
Thanks. --Steve
Thanks. --Steve