Libraryless. Click here for Pure Java version (2512L/16K).
1 | sS or2_trim(S a, S b) { |
2 | a = trim(a); |
3 | if (nempty(a)) ret a; |
4 | ret trim(b); |
5 | } |
6 | |
7 | sS or2_trim(S a, S b, S c) { |
8 | ret or2_trim(or2_trim(a, b), c); |
9 | } |
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: | 231 / 327 |
Version history: | 1 change(s) |
Referenced in: | [show references] |