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