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

4
LINES

< > BotCompany Repo | #1023883 // containsGazelle [coarse procedure]

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1751L/12K).

static YesNoMaybe containsGazelle(S s) {
  int dist = levenSubstringIC_limited(s, "gazelle", 2);
  ret dist == 0 ? ynm_yes() : dist == 1 ? ynm_maybe() : ynm_no();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1023883
Snippet name: containsGazelle [coarse procedure]
Eternal ID of this version: #1023883/5
Text MD5: 3119daa99c43b8531622be549e399fc5
Transpilation MD5: f128973f4d22f8ce429a4cb822e8fa73
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-11 19:33:31
Source code size: 167 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 321
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)