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

Stats:

CreatedMay 7, 2017
PublishedMay 7, 2017
Warriors Trained2268
Total Skips20
Total Code Submissions7707
Total Times Completed1309
Ruby Completions131
JavaScript Completions681
Python Completions514
Haskell Completions28
Total Stars36
% of votes with a positive feedback rating91% of 311
Total "Very Satisfied" Votes259
Total "Somewhat Satisfied" Votes45
Total "Not Satisfied" Votes7
Total Rank Assessments12
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • kkavita92 Avatar
  • ZozoFouchtra Avatar
  • JohanWiltink Avatar
  • albertogcmr Avatar
  • ejini战神 Avatar
  • Kacarott Avatar
  • farhanaditya Avatar
Ad