You can use .SubString and other string functions to parse the number.
VB Code:
Dim str As String = "my cost = 30530$" Dim iNum As Integer = str.IndexOf("=", 0) str = str.Substring(iNum + 1) str = str.Substring(0, str.Length - 1) MessageBox.Show(str) '30530





Reply With Quote