IMPAX 6.5.1 Server Knowledge Base home > Configuring IMPAX Server with Administration Tools > Source Manager > Customizing field mappings to extract information from images > List of field mapping grammar functions

stript


This function returns a text string corresponding to the input text string with the trailing garbage characters stripped out.

Syntax

stript(input, garbage)

Parameters

Remarks

The input text string can be another field mapping grammar function.

Garbage characters are stripped starting from the end of the input string and continuing backwards through the string until a character not defined in the garbage string is found in the input string.

Examples

Expression Text extracted
stript( '123test', 'tse' ) 123
stript( '123test', 'abcd' ) 123test
stript( '123PATIENT123', '123' ) 123PATIENT

See also


Topic number: 32171

Applies to: IMPAX 6.5.1 Server Knowledge Base