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  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

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: 322 / 403
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)