Remove vowels from a string: Difference between revisions
Content added Content deleted
(Created page with "{{draft task}} Remove vowels from a string =={{header|Ring}}== <lang ring> load "stdlib.ring" str = "Ring Programming Language" see "Input : " + str + nl for n = 1 to len(st...") |
(→{{header|REXX}}: added a stub for REXX.) |
||
Line 2: | Line 2: | ||
Remove vowels from a string |
Remove vowels from a string |
||
=={{header|REXX))== |
|||
=={{header|Ring}}== |
=={{header|Ring}}== |
Revision as of 09:19, 25 July 2020
Remove vowels from a string is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Remove vowels from a string
{{header|REXX))
Ring
<lang ring> load "stdlib.ring" str = "Ring Programming Language" see "Input : " + str + nl for n = 1 to len(str)
if isVowel(str[n]) str = substr(str,str[n],"") ok
next see "String without vowels: " + str + nl </lang>
- Output:
Input : Ring Programming Language String without vowels: Rng Prgrmmng Lngg