static int ai_getSplitIndexForString(S s) { int i = ai_text_int(quote(s), "splits at index", "$X"); if (i >= 0) ret i; i = openQuestion(); ret i; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012760 |
Snippet name: | ai_getSplitIndexForString (or -1) |
Eternal ID of this version: | #1012760/5 |
Text MD5: | fc36cb845b4ea6e3e6a2be8d548a634f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-11 23:37:17 |
Source code size: | 160 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 355 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |