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

4
LINES

< > BotCompany Repo | #1008621 // trimIndexLeft

JavaX fragment (include)

static int trimIndexLeft(S s, int i) {
  while (i > 0 && s.charAt(i-1) == ' ') --i;
  ret i;
}

Author comment

Began life as a copy of #1008620

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: #1008621
Snippet name: trimIndexLeft
Eternal ID of this version: #1008621/1
Text MD5: 4fce0d8ddbd4fade2b915c81edd23c43
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-25 23:43:18
Source code size: 97 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 574 / 613
Referenced in: [show references]