7 kyu

Vowel one

2,556 of 11,598user6029333

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 Trained13736
Total Skips92
Total Code Submissions29093
Total Times Completed11598
JavaScript Completions8647
Haskell Completions146
Python Completions2556
Ruby Completions231
C Completions178
RISC-V Completions15
Total Stars62
% of votes with a positive feedback rating94% of 954
Total "Very Satisfied" Votes848
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