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

3
LINES

< > BotCompany Repo | #1030729 // equalsOrStartsWithPlusUnderscore

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2714L/16K).

sbool equalsOrStartsWithPlusUnderscore(S a, S b) {
  ret startsWith(a, b) && (l(a) == l(b) || a.charAt(l(b)) == '_');
}

Author comment

Began life as a copy of #1026046

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030729
Snippet name: equalsOrStartsWithPlusUnderscore
Eternal ID of this version: #1030729/1
Text MD5: c1921f093ece99a8d0cd0da065ac2e95
Transpilation MD5: ebb85dabcd49139f77545dbd2cfcae7f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 15:26:59
Source code size: 121 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 290
Referenced in: [show references]