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

I Think there's something wrong with this quiz:

Most of this quiz is filled with inputs right? I Mostly tried the whole results /s, /t, /n And it Does not work, Why?.

Ari Misha
Ari Misha
19,323 Points

Hiya again! It says you've to select only the tab character. And Tab character is denoted by \t. Do that and you're good to go. (:

Thank you, Ari Misha.

1 Answer

Christof Baumgartner
Christof Baumgartner
20,864 Points

There is a difference between '\s' and '/s'. Only the first one works. This symbol is called a backslash.

Oh i thought that it's with a front slash, Thank you Christof.

Christof Baumgartner
Christof Baumgartner
20,864 Points

You are welcome. Upvoting and marking answers as accepted is highly appreciated :)

Ok, Done.