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.

System and Other Functions$ZSTRIPRemoves types of characters and individual characters from a specified string.$ZSTRIP(string,action,remchar,keepchar)ParametersstringactionremcharkeepcharThe string to be stripped.What to strip from string, specified as an action to be performed and themasks to be used. Specified as a quoted string.Optional — A string of additional specific characters to remove that arenot covered by the action parameter's mask code.Optional — A string of specific characters to not remove that aredesignated for removal by the action parameter's mask code.DescriptionThe $ZSTRIP function removes types of characters and individual characters from thespecified string. You specify the general types or position of the characters to remove throughthe action parameter. You can modify the effects of the action by specifying individualcharacters to remove or keep through the remchar and keepchar parameters.For further information, refer to the Pattern Matching Operators section of Using <strong>Caché</strong><strong>ObjectScript</strong>.ParametersactionA string indicating what characters to strip, specified as an action code followed by one ormore mask codes.Action Codes*Strip leading characters that match the masks.Strip trailing characters that match the masks.Strip all characters that match the masks.Strip leading and trailing characters that match the mask specification.562 <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!