Posted by Anonymous on Tue 18 Nov 19:27
report abuse | download | new post
- Imports System.Text.RegularExpressions
- Imports System.IO
- Module Module1
- Sub Main()
- Dim stextbox As String = "trees"
- Dim sletters As String = Regex.Replace("ABCDEFGHIJKLMNOPQRSTUVWXYZ", "[" & stextbox & "]", "", RegexOptions.IgnoreCase)
- Dim cletters As Char() = sletters.ToCharArray()
- For Each c In cletters
- Console.WriteLine("%{0}%", c)
- Next c
- End Sub
- End Module
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.