MakeValidCode(aCode: String[, ExcludeChars: String]): String
Returns a valid code, by stripping non-printing characters from a code. Characters stripped are any less than Ascii(32) or greater than Ascii(126), wildcards (such as *, ?, %, _), and csv punctuation (such as " ,). If the ExcludeChars is included, wildcard and csv punctuation in ExcludeChars will not be stripped. Non-printing characters and leading spaces are always stripped.
MakeValidCode function syntax has these named arguments:
Parameter |
Description |
aCode |
Required. The code to be converted. |
ExcludeChars |
Optional. Any wildcard or csv characters to be excluded from the conversion. |