mcan (mask character alpha-numeric)

mcan (mask character alpha-numeric)


mca (mask character alpha) Index Level mcdx (mask decimal to hex)
Syntax
Category Processing Codes
Type Processing Code
Description retrieves only the alphabetic characters and numeric characters from a given data value.

An alternate form of the conversion is "mcna"
Options
See Also mc/a (mask character non-alpha) mc/n (mask character non numeric) mcn (mask character numeric) output-conversion processing codes mc (mask character) mcna (mask character alpha-numeric) Processing Codes
Example string = "1200 Main Street..."
crt oconv(string,"mcan")

This outputs '1200MainStreet".  The spaces and the periods are stripped.
Warnings
Compatibility AP 6.1
mca (mask character alpha) Index Level mcdx (mask decimal to hex)