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

6
LINES

< > BotCompany Repo | #1025374 - answerToHello

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

Libraryless. Click here for Pure Java version (2673L/17K).

sS answerToHello(S s, S myName) {
  if (!containsLetterOrDigit(myName)) null;
  if (match("hello " + myName, s))
    ret "Hello";
  null;
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1025374
Snippet name: answerToHello
Eternal ID of this version: #1025374/3
Text MD5: e78842f4554c425f8b5b182ee08bd007
Transpilation MD5: 9e496227f90bb02564a0414eb0fcb29d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-26 23:28:00
Source code size: 144 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 10 / 23
Version history: 2 change(s)
Referenced in: [show references]