needsescaping - eisclimber/ExPresS-XR GitHub Wiki

CsvUtility.NeedsEscaping(string,char)

Method in CsvUtility

Summary

Returns true if the given string contains characters that interfere with the csv format. These are: The separator character and the escape character itself.

public static bool NeedsEscaping(string value, char sep = DEFAULT_COLUMN_SEPARATOR);

Parameters

Name Description
string value String to be checked
char sep Separator character (Default: DataGatherer.DEFAULT_COLUMN_SEPARATOR).

Returns

If the string is properly escaped.

⚠️ **GitHub.com Fallback** ⚠️