The GLOB_ID is a string rather than a number.
So I would say you would have to use the SPLIT command to filter out the number component.
However your GLOB_ID will always have to be in the same format - the user can type what ever they want in there.
Type something other than what is expected in the ID and the script won't work again.
I am guessing you would rather use the ID in the info box but you will be better off creating an parameter (integer) in the object that means only a number can be used.
You can even control the range of numbers allowed to block out negatives or zero values.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11