You should use Tools::substr()