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

9
LINES

< > BotCompany Repo | #1029793 // or2_trim function - or2 plus trim

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

Libraryless. Click here for Pure Java version (2512L/16K).

sS or2_trim(S a, S b) {
  a = trim(a);
  if (nempty(a)) ret a;
  ret trim(b);
}

sS or2_trim(S a, S b, S c) {
  ret or2_trim(or2_trim(a, b), c);
}

Author comment

Began life as a copy of #1003008

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: #1029793
Snippet name: or2_trim function - or2 plus trim
Eternal ID of this version: #1029793/2
Text MD5: 28eb47c6cd6f2560c960d0a47d72bdcd
Transpilation MD5: 029ac26b07dd2b0a4f6b314c0d1b6175
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-17 12:41:16
Source code size: 154 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 230
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)