[PATCH v9 3/8] windows.web: Rework string parsing