Remove vowels from a string: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎{{header|REXX}}: added a stub for REXX.)
m (fixed closing HTML tag.)
Line 3: Line 3:
Remove vowels from a string
Remove vowels from a string


=={{header|REXX))==
=={{header|REXX}}==


=={{header|Ring}}==
=={{header|Ring}}==

Revision as of 09:20, 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

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