<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />

Newtonsoft.Json.Utilities.StringUtils

static class StringUtils
namespace Newtonsoft.Json.Utilities { internal static class StringUtils { public const string CarriageReturnLineFeed = "\r\n"; public const string Empty = ""; public const char CarriageReturn = '\r'; public const char LineFeed = '\n'; public const char Tab = '\t'; public static bool IsNullOrEmpty(string value); public static string FormatWith(this string format, IFormatProvider provider, object arg0); public static string FormatWith(this string format, IFormatProvider provider, object arg0, object arg1); public static string FormatWith(this string format, IFormatProvider provider, object arg0, object arg1, object arg2); public static string FormatWith(this string format, IFormatProvider provider, object arg0, object arg1, object arg2, object arg3); public static bool IsWhiteSpace(string s); public static StringWriter CreateStringWriter(int capacity); public static void ToCharAsUnicode(char c, char[] buffer); public static TSource ForgivingCaseSensitiveFind<[System.Runtime.CompilerServices.Nullable(2)] TSource>(this IEnumerable<TSource> source, Newtonsoft.Json.Serialization.Func<TSource, string> valueSelector, string testValue); public static string ToCamelCase(string s); public static string ToSnakeCase(string s); public static string ToKebabCase(string s); public static bool IsHighSurrogate(char c); public static bool IsLowSurrogate(char c); public static int IndexOf(string s, char c); public static string Replace(string s, string oldValue, string newValue); public static bool StartsWith(this string source, char value); public static bool EndsWith(this string source, char value); public static string Trim(this string s, int start, int length); } }