Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1017046 // Grouping Prefix Test (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7170L/50K).

!7

p-exp {
  S s = "let's have a cup of Joe";
  for (S prefix : sentencePrefixes_notEmpty_rev(s))
    if (cic(generalDefinition_texts_withoutInvalids(prefix),
      "a grouping prefix"))
      print(prefix + " " + curlyBrace(trim(dropPrefix(prefix, s))));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017046
Snippet name: Grouping Prefix Test (OK)
Eternal ID of this version: #1017046/2
Text MD5: e1b17a7426e809a5ec4e6a846c9b1004
Transpilation MD5: 3ac26766bd4aa8610f7de96bb6dd6cc2
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-11 13:43:17
Source code size: 266 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 864
Version history: 1 change(s)
Referenced in: [show references]