Parametric Blocks - Linear Contraints between attributes values

Dear all,

Is there any way to place a linear constraint between 3 text attributes inside a parametric block. Attrubutes values are userdefined and have to remain attached and separated with a - symbol. Length of string values may be variable.

TY