String expression parser