It seems to me that the question is actually about the possible ways to split a 3-digit number into two strings, the first containing the first digit and the second containing the remaining two digits.
Here is one possible solution:
The following XPath expression when evaluated produces a string containing the first digit of a number $vNum (in an actual XPath expression, substitute $vNum with the XPath expression that produces this value):
substring($vNum, 1, 1)
The following XPath expression when evaluated produces a string containing the last two digits of a 3-digit number $vNum (in an actual XPath expression, substitute $vNum with the XPath expression that produces this value):
substring($vNum, 2)
In case if we are not sure about the number of digits $vNum has, the following XPath expression when evaluated produces a string containing the two digits that immediately follow the first digit of a 3+ digit number $vNum (in an actual XPath expression, substitute $vNum with the XPath expression that produces this value):
substring($vNum, 2, 2)
And lastly, if we again don't know the exact number of digits, but want to get the last two of them, the following XPath expression when evaluated produces a string containing the two digits at the end of a 2+ digit number $vNum (in an actual XPath expression, substitute $vNum with the XPath expression that produces this value):
substring($vNum, string-length($vNum) - 1)