Libraryless. Click here for Pure Java version (2529L/16K).
1 | static PairS decodeHQueryParam(S s) { |
2 | int i = indexOf(s, '='); |
3 | ret i <= 0 ? null : pair(urldecode(s.substring(0, i)), urldecode(s.substring(i+1))); |
4 | } |
Began life as a copy of #1003715
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030236 |
Snippet name: | decodeHQueryParam - decode a single HTML query param |
Eternal ID of this version: | #1030236/1 |
Text MD5: | 132e1835075fcd9aa6ed0a50d956d484 |
Transpilation MD5: | 8d441f425c450b918334160265a23bf7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-19 13:09:04 |
Source code size: | 156 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 185 / 267 |
Referenced in: | [show references] |