Example 1
ข้อมูลเข้า
https://example.com/path/to/page?utm_source=test&x=1&x=2#section
ผลลัพธ์
Split a URL into protocol, host, path, query, and hash.
บางเครื่องมือทำงานในเบราว์เซอร์ของคุณ บางฟีเจอร์อาจต้องประมวลผลบนเซิร์ฟเวอร์
https://example.com/path/to/page?utm_source=test&x=1&x=2#section
/relative/path?query=1