public string LeftOf(string input, string value) { string result = CommonStringExtensions.LeftOf(input, value); PexAssert.IsNotNull(result); PexAssert.IsTrue(result.Length <= input.Length); return(result); }
public string LeftOf(string input, string value, int skip, StringComparison comparisonType) { string result = CommonStringExtensions.LeftOf(input, value, skip, comparisonType); PexAssert.IsNotNull(result); PexAssert.IsTrue(result.Length <= input.Length); return(result); }
public string LeftOf(string input, char character, int skip) { string result = CommonStringExtensions.LeftOf(input, character, skip); PexAssert.IsNotNull(result); PexAssert.IsTrue(result.Length <= input.Length); return(result); }