The substring() function extracts part of a string.
substring('String', 'Start', 'Length')
substring(@SupplierGLN,1,2)
Here, a two-digit substring is extracted from the first character and returns the first two digits of the GLN.