Description
Removes all but the specified characters from ANSI data.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify, ZoneLink
Syntax
object.RetainChars (strDataIn, strChars)
Parameters
Object is a reference to the Application, Utility, Line, or Zone object. For more information, see Application Object (page Application Object), Utility Object (page Utility Object), Line Object (page Line Object), or Zone Object (page Zone Object).
RetainChars is the command.
strDataIn is the original string.
strChars is a list of characters to retain from the object's data.
Example