@Dom2 wrote:
I am trying to use…
CustomType = sub(SobGroup_GetShipType(CustomGroup),-3)
…to get the last 3 characters of the ship type string, but I get
parameter: attempt to call global `sub' (a nil value)
. Does anyone know a string function that will work?Thanks!
Posts: 3
Participants: 2