strIsInt improved to support negative integers