7 kyu
What comes after?
131 of 1,309kkavita92
Description:
You will be given two inputs: a string of words and a letter. For each string, return the alphabetic character after every instance of letter(case insensitive).
If there is a number, punctuation or underscore following the letter, it should not be returned.
If letter = 'r':
comes_after("are you really learning Ruby?") # => "eenu"
comes_after("Katy Perry is on the radio!") # => "rya"
comes_after("Pirates say arrrrrrrrr.") # => "arrrrrrrr"
comes_after("r8 your friend") # => "i"
Return an empty string if there are no instances of letter
in the given string.
Adapted from: Ruby Kickstart
Fundamentals
Similar Kata:
Stats:
Created | May 7, 2017 |
Published | May 7, 2017 |
Warriors Trained | 2268 |
Total Skips | 20 |
Total Code Submissions | 7707 |
Total Times Completed | 1309 |
Ruby Completions | 131 |
JavaScript Completions | 681 |
Python Completions | 514 |
Haskell Completions | 28 |
Total Stars | 36 |
% of votes with a positive feedback rating | 91% of 311 |
Total "Very Satisfied" Votes | 259 |
Total "Somewhat Satisfied" Votes | 45 |
Total "Not Satisfied" Votes | 7 |
Total Rank Assessments | 12 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |