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

3
LINES

< > BotCompany Repo | #1028010 // substringWithLength - substring() but second parameter is length

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

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

sS substringWithLength(S s, int start, int len) {
  ret substring(s, start, start+len);
}

Author comment

Began life as a copy of #1002637

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028010
Snippet name: substringWithLength - substring() but second parameter is length
Eternal ID of this version: #1028010/1
Text MD5: a55b02df71fb2bdeb46ac5f111223f5c
Transpilation MD5: 8e17544119ed2e6069e24a5deaecb424
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-03 10:24:01
Source code size: 91 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 173 / 247
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)