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

10
LINES

< > BotCompany Repo | #1004460 // Two Phrases Combined

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

Libraryless. Click here for Pure Java version (2629L/19K/61K).

!752

p {
  final JTextField tf = new JTextField("i and cool");
  showForm("Enter two phrases (a+b):", tf, r {
    S text = jreplace(tf.getText(), "and", "+");
    L<S> phrases = splitAt(text, "+");
    printStructure(phrases);
  });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

-
Snippet ID: #1004460
Snippet name: Two Phrases Combined
Eternal ID of this version: #1004460/1
Text MD5: 20f2183b18ec5ac7545ec6e01cbae63c
Transpilation MD5: a901d25ceb4e8600aa4b087f1f084dd1
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-17 21:31:41
Source code size: 244 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 559 / 644
Referenced in: