String problem

  • Thread starter Thread starter Nikolay Petrov
  • Start date Start date
N

Nikolay Petrov

I have the following string:

000000565034.34

I want to remove the leading zeroes with as less opeartions as possible.

TIA
 
Nikolay,

Dim myString As String = FormatNumber("000000565034.34", , , 0, 0)

I hope this helps?

Cor
 
Nikolay Petrov said:
I have the following string:

000000565034.34

I want to remove the leading zeroes with as less opeartions
as possible.

\\\
MsgBox("00000234234".TrimStart("0"c))
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top