PDA

Click to See Complete Forum and Search --> : String manipulation


makla
Jun 7th, 2002, 06:41 AM
Hi there,

FIELDA = 50 (integer)
FIELDB = ' 50' (string)

FIELDB is 3 chars long

I want the numeric FIELDA value 50 convert to FIELDB (=3 chars).
After the conversion the result must be ' 50' (including 1 space before the 50).

Is there a function in VB I can do this ?

Many thanx!!!

crptcblade
Jun 7th, 2002, 07:02 AM
There certainly is, but you may want to trying posting this question in the VB forum, and not the Java forum.

;)

DaoK
Jun 7th, 2002, 11:39 AM
you will need to trim it to take out the space.