Dim TextWithExtraSpaces As String = "The Quick Brown Fox Jumps Over A Lazy Dog."
Dim TextWithExtraSpacesRemoved As String = System.Text.RegularExpressions.Regex.Replace(TextWithExtraSpaces, "\s+", " ")
Tips and tricks for .NET using ASP and VB code.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment