String Extensions

  • ToSecureString - Converts the String to a SecureString.
    • public static SecureString ToSecureString(this string toSecureString)
  • StripLineBreaks - Strips all line breaks from the String.
    • public static string StripLineBreaks(this string toSingleLine)
  • FormatPhoneNumbers - Formats the String as a phone number.
    • public static string FormatPhoneNumbers(this string phoneNumber)
  • Titleize (Contributed by Ryan Johnson - ryan@xrm.com) - Capitalizes all words in the specified String.
    • public static string Titleize(this string input)

Last edited Oct 30, 2011 at 7:57 PM by cchamberlain, version 4

Comments

No comments yet.