public static SBool StringListDoesNotContainStringIgnoringCase(SStringList sl, SString s) { return(new SBool(!sl.Value.Any(i => i.Equals(s.Value, StringComparison.OrdinalIgnoreCase)))); }
public static SString StringDictGetByKey(SStringDict sd, SString key) { return(new SString(sd.Value[key.Value])); }
public static SBool StringListContainsString(SStringList sl, SString s) { return(new SBool(sl.Value.Any(i => i.Equals(s.Value, StringComparison.Ordinal)))); }
public static SBool StringDictContainsKey(SStringDict sd, SString s) { return(new SBool(sd.Value.ContainsKey(s.Value))); }
public static SBool StringDictDoesNotContainValue(SStringDict sd, SString s) { return(new SBool(!sd.Value.ContainsValue(s.Value))); }
public static SString StringConcatString(SString s1, SString s2) { return(new SString(s1.Value + s2.Value)); }
public static SNumber StringGetLength(SString s) { return(new SNumber(s.Value.Length)); }
public static SString StringTrim(SString s) { return(new SString(s.Value.Trim())); }
public static SStringList StringSplit(SString s, SString separator) { return(new SStringList(s.Value.Split(separator.Value).ToList())); }
public static SString StringToUpper(SString s) { return(new SString(s.Value.ToUpper())); }
public static SBool StringContainsStringIgnoringCase(SString s1, SString s2) { return(new SBool(s1.Value.IndexOf(s2.Value, StringComparison.OrdinalIgnoreCase) >= 0)); }
public static SBool StringStartsWithStringIgnoringCase(SString s1, SString s2) { return(new SBool(s1.Value.StartsWith(s2.Value, StringComparison.OrdinalIgnoreCase))); }
public static SBool StringIsNotEqualToStringIgnoringCase(SString s1, SString s2) { return(new SBool(!string.Equals(s1.Value, s2.Value, StringComparison.OrdinalIgnoreCase))); }
public static SBool StringIsEqualToString(SString s1, SString s2) { return(new SBool(string.Equals(s1.Value, s2.Value, StringComparison.Ordinal))); }