Home Search

DriveWorks Solo 22
MyNumber

Send Feedback

MyNumber

Gets the specified number from within the owners name.

Syntax

MyName([Index])

Where:

Index (optional) is the index specifying which number to return.

When Index is used:
  • A positive number will count the part to return from the left
  • a negative number will count the part to return from the right

Examples

Variables

See Variables.

Variable NameRuleResult
DWVariableMyVar123Test45Test6MyNumber(1)123
DWVariableMyVar123Test45Test6MyNumber(2)45
DWVariableMyVar123Test45Test6MyNumber(3)6
DWVariableMyVar123Test45Test6MyNumber(-3)123
DWVariableMyVar123Test45Test6MyNumber(-2)45
DWVariableMyVar123Test45Test6MyNumber(-1)6

Please note how the index of the number can be supplied by a positive and negative value.

Numbers are treated as multi digit values if adjacent to one another.

Model Rules - see Model Rules.

Model NameRuleResult
Assem1\Part35AMyNumber(2)35
Assem1\Part35AMyNumber(-2)1