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