1 | // e.g. "Did$HappenBefore$" => "Did * HappenBefore *" |
2 | sS dollarsToStars(S s) { |
3 | ret trim(replace(s, "$", " * ")); |
4 | } |
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: | #1025436 |
Snippet name: | dollarsToStars |
Eternal ID of this version: | #1025436/1 |
Text MD5: | f25ed15191c523b25956ca08d958f6ba |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-29 00:23:58 |
Source code size: | 121 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 238 / 254 |
Referenced in: | [show references] |