Validates a String, returning a String excluding non-printable ACSII characters (except vbCrLf if allowNewLines=True).

Diacritical characters are replaced with their equivalent upper/ lower case character.

Syntax

ISValidation.ValidateStringAsciiPrintable(value, [maxLength], [allowNewLines], [upperCase])

Parameters

NameTypeOptionalByRefDescription
value String The String value to validate.
maxLength Integer Optional The Maximum Length allowed. If omitted, a value of -1 is assumed.
allowNewLines Boolean Optional Indicates whether to allow New Lines in the string - default=False. New Lines are normalised to vbCrLf. If omitted, a value of False is assumed.
upperCase Boolean Optional Convert to Upper Case. If omitted, a value of False is assumed.

Return Value

String

A String value.

Member of:
ISValidation
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0