static PairS splitAtFirstColon(S s) { int i = smartIndexOf(s, ':'); ret pair(trimSubstring(s, 0, i), trimSubstring(s, i+1)); }
Began life as a copy of #1031500
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034275 | 
| Snippet name: | splitAtFirstColon - trims all | 
| Eternal ID of this version: | #1034275/1 | 
| Text MD5: | 9d368ac8b93afb96f950c7025ce05637 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-01-29 17:08:10 | 
| Source code size: | 133 bytes / 4 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 354 / 377 | 
| Referenced in: | [show references] |