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).

1  
sS answerToHello(S s, S myName) {
2  
  if (!containsLetterOrDigit(myName)) null;
3  
  if (match("hello " + myName, s))
4  
    ret "Hello";
5  
  null;
6  
}

download  show line numbers  debug dex   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pzhvpgtvlbxg, 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: 42 / 57
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1025374 & http://1025374.tinybrain.de