8 kyu

Remove String Spaces

112,994 of 272,399PG1

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

More By Author:

Check out these other kata created by PG1

Stats:

CreatedSep 27, 2016
PublishedSep 27, 2016
Warriors Trained332185
Total Skips17055
Total Code Submissions515014
Total Times Completed272399
JavaScript Completions112994
PHP Completions6346
Ruby Completions6154
Python Completions81400
Haskell Completions1535
Shell Completions1747
C# Completions13273
CoffeeScript Completions65
C++ Completions12931
Crystal Completions65
Java Completions23087
Rust Completions2961
Groovy Completions192
TypeScript Completions3462
Kotlin Completions2594
C Completions2323
Scala Completions687
Racket Completions63
Nim Completions87
Factor Completions36
Dart Completions1750
Lua Completions554
Elm Completions92
Elixir Completions328
Julia Completions105
Go Completions3322
R Completions304
COBOL Completions28
SQL Completions4605
NASM Completions18
BF Completions59
Perl Completions83
D Completions20
Total Stars1503
% of votes with a positive feedback rating91% of 16595
Total "Very Satisfied" Votes13974
Total "Somewhat Satisfied" Votes2311
Total "Not Satisfied" Votes310
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