String replace

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Seema Multani

    #1

    String replace

    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


  • GhostInAK

    #2
    Re: String replace

    Hello Seema,

    Check into the String class. specifically String.Substrin g.

    -Boo
    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
    >

    Comment

    Working...