Click or drag to resize

StringExtensions Methods

The StringExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetRandom(String)
Returns a random string of 8 characters
Public methodStatic memberGetRandom(String, Int32)
Returns a random string of the specified length
Public methodStatic memberGetRandomEmailAddress
Returns a random string in a format representing an email address.
Public methodStatic memberGetRandomUSPhoneNumber
Returns a random string in a format representing a US phone number
Public methodStatic memberRegexMatch
Indicates whether the specified regular expression pattern finds a match in the specified input string.
Public methodStatic memberRepeat(String, Int32)
Repeats the specified string a number of times
Public methodStatic memberRepeat(String, Int32, String)
Repeats the specified string a number of times, each instance separated by the separator string
Public methodStatic memberToStream
Converts the specified string into a System.IO.Stream type.
Top
See Also