Jump to content

ABC words: Difference between revisions

m
→‎{{header|Phix}}: use GT_LF_STRIPPED
(→‎{{header|Phix}}: Add Python)
m (→‎{{header|Phix}}: use GT_LF_STRIPPED)
Line 413:
return find(0,idii)==0 and idii==sort(idii)
end function
sequence words = filter(split_any(get_text("demo/unixdict.txt")," \r\n",no_empty:=trueGT_LF_STRIPPED),abc)
printf(1,"%d abc words found: %s\n",{length(words),join(shorten(words,"",3),", ")})</lang>
{{out}}
Line 419:
55 abc words found: aback, abacus, abc, ..., syllabic, tabernacle, tablecloth
</pre>
 
 
=={{header|Python}}==
7,820

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.