Determine if a string is collapsible: Difference between revisions
Content deleted Content added
m →{{header|Factor}}: credit where credit's due |
m →{{header|zkl}}: tweak |
||
Line 407:
}</lang>
<lang zkl>strings:=
0'^
"If I were two-faced, would I be wearing this one?" --- Abraham Lincoln
Line 415 ⟶ 414:
The American people have a right to know if their president is a crook.
--- Richard Nixon
The better the 4-wheel drive, the further you'll be from help when ya get stuck!
headmistressship
aardvark^
.split("\n");
#<<<
foreach s in (strings){
println("
println("
}</lang>
{{out}}
<pre>
▲Length: 0 >>><<<
After: 70 >>>"If I were two-faced, would I be wearing this one?" - Abraham Lincoln <<<
▲Length: 70 >>>"If I were two-faced, would I be wearing this one?" - Abraham Lincoln <<<
▲Length: 72 >>>..1111111111111111111111111111111111111111111111111111111111111117777888<<<
▲Length: 4 >>>.178<<<
▲Length: 69 >>>I never give 'em hel, I just tel the truth, and they think it's hel. <<<
▲Length: 17 >>> - Hary S Truman <<<
After: 77 >>>The beter the 4-whel drive, the further you'l be from help when ya get stuck!<<<
▲Length: 71 >>>The American people have a right to know if their president is a crok. <<<
Before: 16 >>>headmistressship<<<
▲Length: 72 >>> --- Richard Nixon <<<
After: 14 >>>headmistreship<<<
▲Length: 17 >>> - Richard Nixon <<<
After: 7 >>>ardvark<<<
▲Length: 1 >>>A<<<
</pre>
|