Trim Text Property Values
You can use this section to trim away part of a text property value, for example a prefix or postfix. You could for example trim a ‘Basic Wall’ prefix from the building element construction type of walls.
There is a separate section in the template for trimming before copy operations and after copy operations because the order of events determines if the trim is applied to a copied value or to the original value.
Field | Type | Value | Description |
---|---|---|---|
Object or Group [+] | Text | Name or identity key | The name or identity key of the Object Class or Group |
Trim Property | Text | Name or identity key | The name or identity key of the text property to trim |
Trim Type | Choice | The type of the trimming. Allowed values are: prefix, postfix, anywhere, regex and regex inverse. | |
Case Sensitive | Yes/No | Yes/No | Perform case sensitive comparison? This setting is ignored if the trim type is regex or regex inverse. |
Text to Trim | Text | The text to trim from the position defined by the trim type. | If the trim type is regex or regex inverse, the value in this cell is used as the regular expression. |