7 kyu

Vowel one

8,616 of 11,529user6029333

Description:

vowelOne

Write a function that takes a string and outputs a strings of 1's and 0's where vowels become 1's and non-vowels become 0's.

All non-vowels including non alpha characters (spaces,commas etc.) should be included.

Examples:

vowelOne "abceios" -- "1001110"

vowelOne "aeiou, abc" -- "1111100100"
vowelOne( "abceios" ) // "1001110"

vowelOne( "aeiou, abc" ) // "1111100100"
Fundamentals
Strings

More By Author:

Check out these other kata created by user6029333

Stats:

CreatedOct 19, 2016
PublishedOct 19, 2016
Warriors Trained13633
Total Skips91
Total Code Submissions28820
Total Times Completed11529
JavaScript Completions8616
Haskell Completions144
Python Completions2520
Ruby Completions230
C Completions174
RISC-V Completions13
Total Stars63
% of votes with a positive feedback rating94% of 952
Total "Very Satisfied" Votes846
Total "Somewhat Satisfied" Votes90
Total "Not Satisfied" Votes16
Total Rank Assessments32
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • user6029333 Avatar
  • ZozoFouchtra Avatar
  • raulbc777 Avatar
  • suic Avatar
  • dramforever Avatar
  • Voile Avatar
  • rowcased Avatar
  • BobtheLantern Avatar
  • Just4FunCoder Avatar
  • yLaWy Avatar
Ad