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

8
LINES

< > BotCompany Repo | #1002580 // removeAtName

JavaX fragment (include)

static S removeAtName(S s) {
  if (s.startsWith("<@")) {
    int i = s.indexOf('>');
    if (i >= 0)
      ret s.substring(i+1).trim();
  }
  ret s;
}

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: #1002580
Snippet name: removeAtName
Eternal ID of this version: #1002580/1
Text MD5: 70d150a2599a3848da46ff65cbea6caa
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-03 00:05:03
Source code size: 157 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 481
Referenced in: [show references]