11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$ZCRCWRITE $ZCVT("Hello","T")The following example uses the concatenate operator (_) to append and case-convert anaccented character:WRITE "CACH"_$CHAR(201),!, $ZCVT("CACH"_$CHAR(201),"L")returns:CACHÉcachéThe following example converts the angle brackets in the string to HTML escape charactersfor output, returning “&lt;TAG&gt;”WRITE $ZCVT("","O","HTML")Note that how these angle brackets display depends on the output device; try running thisprogram here and then running it from the Terminal prompt.See Also• $ASCII function• $CHAR function• $ZSTRIP function• Pattern Matching operators in Using <strong>Caché</strong> <strong>ObjectScript</strong>• More information on locales in Customized National Language Translations$ZCRCChecksum function.$ZCRC(string,mode,expression)ParametersstringmodeexpressionA string.The checksum method to use.Optional — The initial "seed" value.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 525

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

Saved successfully!

Ooh no, something went wrong!