guides:programming:programmers_reference_manual:oconv_masked_character_mcx

OConv Character (MCx) function

Converts a string into a specified output format.

output = OConv(expression, "MC [U] [L] [T] [N] [A] [AN] [/A]")

OConv (MCx) accepts arguments for the following parameters.

ParameterDescription
expressionA string.
MCIndicates a masked character conversion.

Note: The MC conversion is a masked comma conversion. The MCx conversion described here must contain the third character in order to process strings.
U, L, T, N, A, AN, /AThe U option will return the string in upper case.

The L option will return the string in lower case.

The T option will return the string in title case.

The N option will return the numeric characters within the string.

The A option will return the alphabetic characters within the string.

The AN option will return the alphabetic and numeric characters within the string.

The /A option will return all non-alphabetic characters within the string.

The following table provides examples of the correct use of the OConv MCx function:

string = 'Frank Sinatra conducts tone poems of color 1956'
Example codeOutput
OConv(string, "MCU")FRANK SINATRA CONDUCTS TONE POEMS OF COLOR 1956
OConv(string, "MCL")frank sinatra conducts tone poems of color 1956
OConv(string, "MCT")Frank Sinatra Conducts Tone Poems Of Color 1956
OConv(string, "MCN")1956
OConv(string, "MCA")FrankSinatraconductstonepoemsofcolor
OConv(string, "MC/A")1956
OConv(string, "MCAN")FrankSinatraconductstonepoemsofcolor1956
  • guides/programming/programmers_reference_manual/oconv_masked_character_mcx.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1