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

4
LINES

< > BotCompany Repo | #1007573 - isOK

JavaX fragment (include)

static bool isOK(S s) {
  s = trim(s);
  ret swic(s, "ok ") || eqic(s, "ok") || matchStart("ok", s);
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1007573
Snippet name: isOK
Eternal ID of this version: #1007573/3
Text MD5: 04008f8e613abfbb6fda0a525ec8f954
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-27 13:02:07
Source code size: 105 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 321 / 304
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1007573 & http://1007573.tinybrain.de