8 kyu

Remove String Spaces

112,358 of 270,467PG1

Description:

Write a function that removes the spaces from the string, then return the resultant string.

Examples (Input -> Output):

"8 j 8   mBliB8g  imjB8B8  jl  B" -> "8j8mBliB8gimjB8B8jlB"
"8 8 Bi fk8h B 8 BB8B B B  B888 c hl8 BhB fd" -> "88Bifk8hB8BB8BBBB888chl8BhBfd"
"8aaaaa dddd r     " -> "8aaaaaddddr"
Fundamentals
Strings

Stats:

CreatedSep 27, 2016
PublishedSep 27, 2016
Warriors Trained329952
Total Skips16926
Total Code Submissions511882
Total Times Completed270467
JavaScript Completions112358
PHP Completions6317
Ruby Completions6137
Python Completions80678
Haskell Completions1526
Shell Completions1738
C# Completions13199
CoffeeScript Completions65
C++ Completions12787
Crystal Completions65
Java Completions22938
Rust Completions2936
Groovy Completions190
TypeScript Completions3419
Kotlin Completions2572
C Completions2297
Scala Completions685
Racket Completions63
Nim Completions87
Factor Completions36
Dart Completions1729
Lua Completions547
Elm Completions92
Elixir Completions326
Julia Completions104
Go Completions3275
R Completions302
COBOL Completions28
SQL Completions4550
NASM Completions17
BF Completions58
Perl Completions83
D Completions20
Total Stars1494
% of votes with a positive feedback rating91% of 16530
Total "Very Satisfied" Votes13918
Total "Somewhat Satisfied" Votes2305
Total "Not Satisfied" Votes307
Total Rank Assessments11
Average Assessed Rank
8 kyu
Highest Assessed Rank
8 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • PG1 Avatar
  • Javatlacati Avatar
  • GiacomoSorbi Avatar
  • Unihedron Avatar
  • suic Avatar
  • shadowmanos Avatar
  • donaldsebleung Avatar
  • nbeck Avatar
  • romerojp Avatar
  • Chrono79 Avatar
  • Blind4Basics Avatar
  • a.merezhanyi Avatar
  • ezcrypter Avatar
  • SmithG Avatar
  • zimo Avatar
  • Voile Avatar
  • MaikelNabil Avatar
  • mitron6 Avatar
  • kunicmarko20 Avatar
  • rowcased Avatar
  • orhanbalci Avatar
  • kdmatrosov Avatar
  • metagn Avatar
  • hobovsky Avatar
  • jsuisnul Avatar
  • xavierguihot Avatar
  • stellartux Avatar
  • user8436785 Avatar
  • zLuki Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • Just4FunCoder Avatar
  • 4500zenja1 Avatar
  • jmh0036 Avatar
Ad