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

12
LINES

< > BotCompany Repo | #1022263 // gazelle_purposeFromComments

JavaX fragment (include)

sS gazelle_purposeFromComments(LS comments) {
  new Matches m;
  for (S s : unnull(comments)) {
    if (swic_trim(s, "purpose:", m))
      ret m.rest();
  }
  ret "";
}

sS gazelle_purposeFromComments(S comments) {
  ret gazelle_purposeFromComments(tlft(comments));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022263
Snippet name: gazelle_purposeFromComments
Eternal ID of this version: #1022263/4
Text MD5: 3a137f3fdf4d8fb0373a1a7bf7ce33d3
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-17 00:03:10
Source code size: 278 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 303 / 322
Version history: 3 change(s)
Referenced in: [show references]