Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Basics (Retired) Ruby Strings Whitespace Quiz

what is the answer to this? I tried everything but can't seem to get it right...

it is just asking for spaces and according to the video it is just backslashes. I can't seem to get this thing to pass

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Issac.

A space is 'backslash + s' \s Jason discusses it here at ~2:57. A backslash by itself has no significance or meaning without further characters. For example, Tab (\t) , new line (\n) etc.

Keep Coding! :)

:dizzy:

thanks.. what was i thinking?