I am new to vb.net. i need help in formating a string

example:
dim balance as string="balance:450005.809999"

i will like to leave only two characters after the full stop. the integer will be changing but the string will always contain the 'balance' word and a full stop. will like the output to be as follows

output
balance:450005.80

Hi, Use instr method and substring method to get ur out put...
Happy coding... )

Thanks alot. i have got it now :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.