svoid test_joinSubstringObjects() { S s = "hello world"; Substring x = joinSubstringObjects(ll( Substring(s, 0, 3), Substring(s, 3, 5), Substring(s, 5, 6))); assertEqualsVerbose("hello ", str(x)); assertSameVerbose(s, x.baseString()); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028132 |
Snippet name: | test_joinSubstringObjects (OK) |
Eternal ID of this version: | #1028132/3 |
Text MD5: | 5272a28d37fea9e33511d2c506506ace |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-23 12:19:45 |
Source code size: | 254 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 242 / 258 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |