Implement substr(a, 1, 2) and remove a(1..2)