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

3
LINES

< > BotCompany Repo | #1012209 // ai_countInstances - count($X is s)

JavaX fragment (include)

static int ai_countInstances(S s) {
  ret l(ai_texts("$X", "is", s));
}

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: #1012209
Snippet name: ai_countInstances - count($X is s)
Eternal ID of this version: #1012209/1
Text MD5: dc2920d2905ec71c06b2b5a18f17dbdd
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-23 21:43:58
Source code size: 73 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 452 / 480
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012460 - ai_randomInstance