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

Stats:

CreatedJul 26, 2013
PublishedJul 26, 2013
Warriors Trained65885
Total Skips5826
Total Code Submissions114223
Total Times Completed48727
JavaScript Completions20483
CoffeeScript Completions300
Ruby Completions2766
Python Completions16531
Shell Completions1428
C# Completions2443
PHP Completions1786
Lua Completions520
Haskell Completions322
C Completions816
NASM Completions35
Clojure Completions256
C++ Completions1656
Scala Completions56
Java Completions282
Total Stars405
% of votes with a positive feedback rating92% of 4028
Total "Very Satisfied" Votes3449
Total "Somewhat Satisfied" Votes514
Total "Not Satisfied" Votes65
Ad
Contributors
  • jhoffner Avatar
  • JDiPierro Avatar
  • mega-mac-slice Avatar
  • anter69 Avatar
  • andreapt82 Avatar
  • Chrono79 Avatar
  • YiFenZ Avatar
  • Souzooka Avatar
  • rowcased Avatar
  • flaco Avatar
  • rsa Avatar
  • lbvf50mobile Avatar
  • hobovsky Avatar
  • uniapi Avatar
  • sebostien Avatar
  • user8436785 Avatar
  • ejini战神 Avatar
  • FlyingCheburek Avatar
  • KayleighWasTaken Avatar
  • fsantamaria1 Avatar
Ad