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

4
LINES

< > BotCompany Repo | #1012204 // quoteUnlessWordsAndSpaces

JavaX fragment (include)

static S quoteUnlessWordsAndSpaces(S s) {
  if (s == null) return null;
  ret isWordsAndSpaces(s) ? s : quote(s);
}

Author comment

Began life as a copy of #1008181

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: #1012204
Snippet name: quoteUnlessWordsAndSpaces
Eternal ID of this version: #1012204/1
Text MD5: eba37f32a3514109272429ea681933c0
Author: stefan
Category: javacx
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-23 20:28:07
Source code size: 118 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 290 / 326
Referenced in: [show references]