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

9
LINES

< > BotCompany Repo | #1003327 // findDialogsNamed

JavaX fragment (include)

1  
static L<Snippet> findDialogsNamed(S name) {
2  
  L<Snippet> snippets = 
3  
    snippetsFromHTML(tb_mainServer() + "/tb/snippets.php?type=48&order=changed&reverse=1&longlist=1&prefix=" + urlencode(name));
4  
  new L<Snippet> dialogs;
5  
  for (Snippet s : snippets)
6  
    if (swic(s.title.trim(), name))
7  
      dialogs.add(s);
8  
  ret dialogs;
9  
}

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: #1003327
Snippet name: findDialogsNamed
Eternal ID of this version: #1003327/2
Text MD5: 19edc196965217642f98c3179d1d1303
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-02 01:23:38
Source code size: 336 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 503 / 792
Version history: 1 change(s)
Referenced in: [show references]