none
how to convert Symbols from / to - in textbox ? RRS feed

  • Question

  • example :

    in textbox1 = 12/34 convert to textbox1.text = '12-34'

    I want convert  text in textbox from  12/34 to value text = 12-34

    Tuesday, May 16, 2017 8:29 AM

Answers

  • It seems everybody is currently answering on questions which can be solved as. 

    Don't convert it. 

    Use

    Textbox1.Text = "12-34"

    However, probably you mean that also for other values but tell than what has to be changed.

    I assume it is not as simple as making from the divide character a minus character. 

    TextBox1.Text = TextBox1.Text.replace("/","-")


    Success
    Cor

    • Marked as answer by srajmuneer Tuesday, May 16, 2017 8:54 AM
    Tuesday, May 16, 2017 8:36 AM