StringExtensions Class |
Namespace: TestHelperExtensions
The StringExtensions type exposes the following members.
Name | Description | |
---|---|---|
GetRandom(String) |
Returns a random string of 8 characters
| |
GetRandom(String, Int32) |
Returns a random string of the specified length
| |
GetRandomEmailAddress |
Returns a random string in a format representing an email address.
| |
GetRandomUSPhoneNumber |
Returns a random string in a format representing a US phone number
| |
RegexMatch |
Indicates whether the specified regular expression pattern
finds a match in the specified input string.
| |
Repeat(String, Int32) |
Repeats the specified string a number of times
| |
Repeat(String, Int32, String) |
Repeats the specified string a number of times, each
instance separated by the separator string
| |
ToStream |
Converts the specified string into a System.IO.Stream type.
|