/// <summary> /// Converts the <see cref="String"/> to it's JavaScript string representation. /// </summary> /// <param name="value">The value to convert.</param> /// <param name="delimter">The string delimiter character.</param> /// <returns>A Json string representation of the <see cref="String"/>.</returns> public static string ToString(string value, char delimter) { return(JavaScriptUtils.EscapeJavaScriptString(value, delimter, true)); }