11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System and Other Functions$ZCONVERTString conversion function.$ZCONVERT(string,mode,trans)$ZCVT(string,mode,trans)ParametersstringmodetransThe string to convert, specified as a quoted string. This string can bespecified as a value, a variable, or an expression.A letter specifying the type of case conversion, specified as a quoted string.Optional — The translation table to use.Description$ZCONVERT converts a string from one form to another. The nature of the conversiondepends on the parameters you use.$ZCONVERT Returns a Converted String$ZCONVERT(string, mode) returns string with the characters converted as specified bymode. The conversions are of two types:• Case conversion• Encoding translationCase conversion changes the case of each letter character in the string. You can change allletter characters in a string to their lowercase, uppercase, or titlecase form. Characters thatare already in the specified case, and characters with no case (usually any non-letter character)in the string are passed through unchanged. To output a literal quote character (“) within astring, input two quote characters (““). For further case conversion options, including non-ASCII and customized case conversion, refer to Customized National Language Translations.Encoding translation translates string between the internal encoding style used on your systemand another encoding style. You can perform input translation; that is, translate string froman external encoding style to the encoding style of your system. You can also perform outputtranslation; that is, translate string from the encoding style of your system to an externalencoding style. For further I/O translation options, including non-ASCII and customizedtranslation, refer to Customized National Language Translations.522 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!