How can i remove the Last 3 char in a string?
the string can change length..
please help
thanks
Printable View
How can i remove the Last 3 char in a string?
the string can change length..
please help
thanks
VB Code:
Module Module1 Sub Main() Dim myString As String = "myString123" Console.WriteLine(myString.Substring(0, myString.Length - 3)) Console.ReadLine() End Sub End Module
thanks for your help
I am learning vb.net one step at a time :)