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