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