String replace

  • Thread starter Thread starter Seema Multani
  • Start date Start date
S

Seema Multani

I have a string "1152090116" I want to replace last digit of the string from
6 to 0.
e.g my resulted string would be "1152090110". How can I do that.

Thanks in advance
 
Hello Seema,

Check into the String class. specifically String.Substring.

-Boo
 

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