Thank you people .. for the helps.
I think i'll stick with the standard approach, which is cleaner and easier to migrate later.
Anyway i tried out the cast function, but it didnt work. =p
Later i checked in the reference pdf, there's a table of what can be casted into what,
and integer cant be casted to a string type.
Do not pursue the past. Do not lose yourself in the future.
The past no longer is. The future has not yet come.
Looking deeply at life as it is in the very here and now,
the practitioner dwells in stability and freedom.
(Thich Nhat Hanh)