Libraryless. Click here for Pure Java version (2842L/17K).
static PairS splitAtFirstEquals(S s) { int i = smartIndexOf(s, '='); ret pair(trimSubstring(s, 0, i), trimSubstring(s, i+1)); }
Began life as a copy of #1012569
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031500 |
Snippet name: | splitAtFirstEquals - trims all |
Eternal ID of this version: | #1031500/1 |
Text MD5: | a6e04a5952c41ea99fc0bb395eacbd50 |
Transpilation MD5: | a2020f7c9e37284140b068a16c763c2f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-16 17:52:32 |
Source code size: | 134 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 260 |
Referenced in: | [show references] |