vb.net - Removal of special symbols from the textBox - Stack Overflow

PHOTO EMBED

Mon Sep 19 2022 07:29:06 GMT+0000 (Coordinated Universal Time)

Saved by @prakash #vb

    Dim mDbl as Double
    If Double.TryParse(New String((From sChr In testString Where "1234567890.,-+".IndexOf(sChr) > -1).ToArray), mDbl) Then
        Console.WriteLine(mDbl.ToString)
    End If
content_copyCOPY

https://stackoverflow.com/questions/60809797/removal-of-special-symbols-from-the-textbox