Remove vowels from a string: Difference between revisions
Content added Content deleted
(add →Pascal: and →Free Pascal) |
|||
Line 1,651: | Line 1,651: | ||
<!--</lang>--> |
<!--</lang>--> |
||
(output deliberately not shown due to windows console effects, but it is the same as Raku, or Julia with the alternate find/replace line.) |
(output deliberately not shown due to windows console effects, but it is the same as Raku, or Julia with the alternate find/replace line.) |
||
=={{header|Picat}}== |
|||
<lang Picat>main => |
|||
println("The Quick Brown Fox Jumped Over the Lazy Dog's Back".remove_vowels), |
|||
println("Picat programming language".remove_vowels). |
|||
remove_vowels(S) = [C : C in S, not membchk(C,"AEIOUaeiou")].</lang> |
|||
{{out}} |
|||
<pre>Th Qck Brwn Fx Jmpd vr th Lzy Dg's Bck |
|||
Pct prgrmmng lngg</pre> |
|||
=={{header|Prolog}}== |
=={{header|Prolog}}== |