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

3
LINES

< > BotCompany Repo | #1031321 // afterLastDollar

JavaX fragment (include)

1  
sS afterLastDollar(S s) {
2  
  ret s == null ?: substring(s, s.lastIndexOf('$')+1);
3  
}

Author comment

Began life as a copy of #1016283

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031321
Snippet name: afterLastDollar
Eternal ID of this version: #1031321/1
Text MD5: 17e5bc14b3328e685fb65fa8bd44929b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-05 00:07:08
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 131 / 167
Referenced in: [show references]