bound0 = @Substring(@Value(bound),0,100)
bound1 = @Substring(@Value(bound),100,100)
.. etc
However TCL tries to evaluate the resulting string as an expression, it has trouble with "and".
AttributeCreator: Failed to evaluate TCL expression: and along the
AttributeCreator: TCL Error Message: invalid bareword "and"
in expression "and along the";
should be "$and" or "{and}" or "and(...)" or ...
I don't want it evaluated.
I cannot see a way of escaping the substring.
I have tried enclosing the expression in quotes
\\"@Substring(...)\\"
but that is too late, or not effective. I had to use a backslash, not a forward slash to allow the @function to be evaluated.
Is there a more elegant way of splitting a string into short sections that fit a smaller field? Ideally I would like it split at words as well to be readable and so that numbers were not split across lines/fields. I would like it to be less hard-coded as well for max line length and number of fields.