8 kyu

Convert a string to an array

71,691 of 159,705samjam48

Description:

Write a function to split a string and convert it into an array of words.

Examples (Input ==> Output):

"Robin Singh" ==> ["Robin", "Singh"]

"I love arrays they are my favorite" ==> ["I", "love", "arrays", "they", "are", "my", "favorite"]
Arrays
Strings
Fundamentals

More By Author:

Check out these other kata created by samjam48

Stats:

CreatedSep 25, 2016
PublishedSep 25, 2016
Warriors Trained198863
Total Skips11927
Total Code Submissions284061
Total Times Completed159705
JavaScript Completions71691
Python Completions51876
Ruby Completions3602
C# Completions7527
TypeScript Completions2825
CoffeeScript Completions48
Crystal Completions41
Racket Completions60
Haskell Completions654
Elixir Completions326
Java Completions13071
Julia Completions89
R Completions200
C++ Completions5137
C Completions414
Lua Completions230
COBOL Completions13
Rust Completions1612
D Completions18
Go Completions2397
PHP Completions1330
Dart Completions229
Kotlin Completions247
Perl Completions7
Total Stars867
% of votes with a positive feedback rating90% of 9187
Total "Very Satisfied" Votes7575
Total "Somewhat Satisfied" Votes1332
Total "Not Satisfied" Votes280
Total Rank Assessments37
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • samjam48 Avatar
  • Javatlacati Avatar
  • GiacomoSorbi Avatar
  • suic Avatar
  • anter69 Avatar
  • brunolm Avatar
  • Chrono79 Avatar
  • kazk Avatar
  • docgunthrop Avatar
  • JohanWiltink Avatar
  • pauloantiquera Avatar
  • mitron6 Avatar
  • monadius Avatar
  • hobovsky Avatar
  • cliffstamp Avatar
  • RamiroCastillo Avatar
  • trashy_incel Avatar
  • user8436785 Avatar
  • SergeySinyavskiy Avatar
  • ZywOo Avatar
  • MikChan Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • dfhwze Avatar
  • ethan67 Avatar
  • quadratz Avatar
  • airshawn Avatar
  • SanderFabry Avatar
Ad