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).

1  
!7
2  
3  
p-exp {
4  
  S s = "let's have a cup of Joe";
5  
  for (S prefix : sentencePrefixes_notEmpty_rev(s))
6  
    if (cic(generalDefinition_texts_withoutInvalids(prefix),
7  
      "a grouping prefix"))
8  
      print(prefix + " " + curlyBrace(trim(dropPrefix(prefix, s))));
9  
}

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: 545 / 1130
Version history: 1 change(s)
Referenced in: [show references]