The StringAssert
class provides various methods for verifying the contents of strings:
Contains—Verifies that a string contains a specified substring.
Matches and DoesNotMatch—Uses a regular expression to verify that the specified string matches, or does not match, a specified pattern.
StartsWith and EndsWith—Verifies that a string starts or ends with a specified string.
3.21.106.7