Libraryless. Click here for Pure Java version (9140L/50K).
1 | static bool isMultilineQuoted(S s) { |
2 | if (!startsWith(s, "[")) false; |
3 | int i = 1, n = s.length(); |
4 | while (i < n && s.charAt(i) == '=') ++i; |
5 | ret i < n && s.charAt(i) == '['; |
6 | } |
Began life as a copy of #1001135
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1009164 |
Snippet name: | isMultilineQuoted - tests only the beginning of the string |
Eternal ID of this version: | #1009164/3 |
Text MD5: | de56f625dfc422b5135f1927fe9dcbae |
Transpilation MD5: | c89e0fc48394f978db05873225658518 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-31 04:06:11 |
Source code size: | 184 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 520 / 1195 |
Version history: | 2 change(s) |
Referenced in: | [show references] |