1. Skip all leading spaces. 2. Check if next character is '+' or '-'.