Token: Added utility function getStrSize as a complement to getStrLength