7 kyu
String ends with?
6,410 of 254,728jhoffner
Description:
Complete the solution so that it returns true if the first argument(string) passed in ends with the 2nd argument (also a string).
Examples:
solution('abc', 'bc') // returns true
solution('abc', 'd') // returns false
Strings
Fundamentals
Similar Kata:
Stats:
Created | Jul 26, 2013 |
Published | Jul 26, 2013 |
Warriors Trained | 414063 |
Total Skips | 30657 |
Total Code Submissions | 800807 |
Total Times Completed | 254728 |
JavaScript Completions | 95077 |
CoffeeScript Completions | 716 |
Python Completions | 78159 |
Ruby Completions | 3645 |
C# Completions | 13204 |
C Completions | 6410 |
Elixir Completions | 866 |
Rust Completions | 4507 |
Java Completions | 26496 |
TypeScript Completions | 8037 |
C++ Completions | 11046 |
Haskell Completions | 1241 |
PHP Completions | 5034 |
Crystal Completions | 47 |
Go Completions | 5825 |
Prolog Completions | 76 |
Clojure Completions | 406 |
Lua Completions | 462 |
COBOL Completions | 28 |
D Completions | 21 |
Scala Completions | 196 |
Total Stars | 1734 |
% of votes with a positive feedback rating | 87% of 15186 |
Total "Very Satisfied" Votes | 11821 |
Total "Somewhat Satisfied" Votes | 2826 |
Total "Not Satisfied" Votes | 539 |