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

7
LINES

< > BotCompany Repo | #1014254 // startsWithEndsWith - synonym of startsWithAndEndsWith

JavaX fragment (include)

sbool startsWithEndsWith(S s, S prefix, S suffix) {
  ret startsWith(s, prefix) && endsWith(s, suffix);
}

sbool startsWithEndsWith(S s, S prefixSuffix) {
  ret startsWithEndsWith(s, prefixSuffix, prefixSuffix);
}

Author comment

Began life as a copy of #1011755

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: #1014254
Snippet name: startsWithEndsWith - synonym of startsWithAndEndsWith
Eternal ID of this version: #1014254/2
Text MD5: e9401cd6c44a970435341e9908e248bb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-11 23:54:37
Source code size: 219 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 421
Version history: 1 change(s)
Referenced in: [show references]