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

6
LINES

< > BotCompany Repo | #1006618 // parseFirstPoint - find "x, y" in string

JavaX fragment (include)

static Pt parseFirstPoint(S s) {
  L<S> tok = javaTok(s);
  int i = jfind(tok, "<int>,<int>");
  if (i < 0) null;
  ret new Pt(parseInt(tok.get(i)), parseInt(tok.get(i+4)));
}

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: #1006618
Snippet name: parseFirstPoint - find "x, y" in string
Eternal ID of this version: #1006618/1
Text MD5: 1836a147ebb42d756b67e9317d3b09eb
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-21 23:46:54
Source code size: 180 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 543 / 572
Referenced in: [show references]