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

9
LINES

< > BotCompany Repo | #1011012 // splitAtBaseFormVerb

JavaX fragment (include)

static Triple<S> splitAtBaseFormVerb(S s) {
  L<S> tok = nlTok(s);
  int i = indexOfAny(allToLower(tok), baseFormVerbs());
  if (i < 0) null;
  ret triple(
    trimJoinSubList(tok, 0, i),
    tok.get(i),
    trimJoinSubList(tok, i+1));
}

Author comment

Began life as a copy of #1010999

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: #1011012
Snippet name: splitAtBaseFormVerb
Eternal ID of this version: #1011012/1
Text MD5: 7d6f86519eb0712ad4468fa952416c0c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-11 17:41:23
Source code size: 245 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 458
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011062 - firstVerb