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

3
LINES

< > BotCompany Repo | #2000502 // patternQuote

New Tinybrain snippet

static String patternQuote(String s) {
  return s.length() == 0 ? "" : Pattern.quote(s);
}

download  show line numbers   

Snippet is not live.

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

No comments. add comment

Snippet ID: #2000502
Snippet name: patternQuote
Eternal ID of this version: #2000502/1
Text MD5: 677e1a4d6a440c7f87e748510fba7d6f
Author: stefan
Category:
Type: New Tinybrain snippet
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-08 17:31:16
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 620 / 780
Referenced in: #1000473 - Creating SQL statements (lesson 5 - result of some actual queries)
#1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012559 - regexpQuote - synonym of patternQuote
#3000382 - Answer for ferdie (>> t = 1, f = 0)