Hello:
I want to format fixed length string using vb.net. If the size of
string is less than field size then it should filled with zero.
ex:i want to format fixed length 10 digit amount field which is input
by the user.if the user fills only 6 digits then the data will be left
justified and on the right side remaining 4 digits it filled with
zeroes.
1)Enter Amount="500100"
formatted string="5001000000"
2)Enter Amount="500"
formatted string="5000000000"
please guide me urgently?
Thanks
I want to format fixed length string using vb.net. If the size of
string is less than field size then it should filled with zero.
ex:i want to format fixed length 10 digit amount field which is input
by the user.if the user fills only 6 digits then the data will be left
justified and on the right side remaining 4 digits it filled with
zeroes.
1)Enter Amount="500100"
formatted string="5001000000"
2)Enter Amount="500"
formatted string="5000000000"
please guide me urgently?
Thanks