7 kyu
Remove anchor from URL
20,483 of 48,727jhoffner
Description:
Complete the function/method so that it returns the url with anything after the anchor (#
) removed.
Examples
"www.codewars.com#about" --> "www.codewars.com"
"www.codewars.com?page=1" -->"www.codewars.com?page=1"
Regular Expressions
Strings
Fundamentals
Similar Kata:
Stats:
Created | Jul 26, 2013 |
Published | Jul 26, 2013 |
Warriors Trained | 65885 |
Total Skips | 5826 |
Total Code Submissions | 114223 |
Total Times Completed | 48727 |
JavaScript Completions | 20483 |
CoffeeScript Completions | 300 |
Ruby Completions | 2766 |
Python Completions | 16531 |
Shell Completions | 1428 |
C# Completions | 2443 |
PHP Completions | 1786 |
Lua Completions | 520 |
Haskell Completions | 322 |
C Completions | 816 |
NASM Completions | 35 |
Clojure Completions | 256 |
C++ Completions | 1656 |
Scala Completions | 56 |
Java Completions | 282 |
Total Stars | 405 |
% of votes with a positive feedback rating | 92% of 4028 |
Total "Very Satisfied" Votes | 3449 |
Total "Somewhat Satisfied" Votes | 514 |
Total "Not Satisfied" Votes | 65 |