↧
trim string
Try this: Dim S As String = "C:\users\bmd\appdata" Dim T As String = S.Substring(S.LastIndexOf("\") + 1) MsgBox(T)
View Articletrim string
i have a string declared as path which = "C:\users\bmd\appdata" i would like to trim it to just "appdata" please help thanks in advance.
View Article