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

5
LINES

< > BotCompany Repo | #1024504 - discord_parseUserMention

JavaX fragment (include)

static long discord_parseUserMention(S s) {
  s = dropPrefixSuffix_orNull("<@", ">", s);
  if (isInteger(s)) ret parseLong(s);
  ret 0;
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1024504
Snippet name: discord_parseUserMention
Eternal ID of this version: #1024504/1
Text MD5: 656d40ef4ec35474eda00077b5a3582f
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-15 14:02:03
Source code size: 141 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 8 / 15
Referenced in: [show references]