Recent Posts
None | 10 sec ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
SQL | 2 min ago
None | 2 min ago
None | 2 min ago
mIRC | 2 min ago
None | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 18th of Nov 2008 05:07:27 PM Download | Raw | Embed | Report
  1. using System;
  2. using System.Text.RegularExpressions;
  3. namespace myapp
  4. {
  5.     class Class1
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             String stextbox = "trees";
  10.             String sletters = Regex.Replace(@"ABCDEFGHIJKLMNOPQRSTUVWXYZ", @"[" + stextbox + "]", "", RegexOptions.IgnoreCase);
  11.             char[] cletters = sletters.ToCharArray();
  12.             foreach (char c in cletters)
  13.             {
  14.                 Console.WriteLine("%{0}%", c);
  15.             }
  16.         }
  17.     }
  18. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: