This problem demonstrates various WeBWorK procedures for dealing with string answers. See Answer Evaluators for documentation on these procedures.

Enter the string "Hi  there." without the quotes but don't forget the period. Spaces before the "H" and after the "." are ignored, but otherwise you must enter the string exactly as given with 2 spaces between the words. Actually, viewing this in html, you will not see the two spaces, but they are really there.
This uses strict_str_cmp


Now enter the string "Hi  there." again. This time all multiple spaces are treated as a single space. E.g. you can enter as many spces as you want between the "Hi" and the "there." and your answer will still be accepted as correct.
This uses std_cs_str_cmp


Finally enter the string "Hi  there." a third time. This time case is ignored and all multiple spaces are treated as a single space. E.g. "hi there." and "hI    THerE.  " are valid answers.
This uses std_str_cmp


Next enter the string "A c D d B" . All spaces are ignored so "AcDdB" and "A c DdB" are valid answers.
This uses ordered_cs_str_cmp


Enter the string "A c D d B" again. This time spaces and case are ignored so "acddb" and "A CDDB" are valid answers.
This uses ordered_str_cmp


Enter the string "A c D d B" once more. Now the order and spaces are ignored so "ABcDd" and " B d D c A" are valid answers.
This uses unordered_cs_str_cmp


Finally enter the string "A c D d B" one last time. This time the order, spaces, and case are ignored so "abcdd" and " B D d C A" are valid answers.
This uses unordered_str_cmp


You can view the source for this problem.

You can earn partial credit on this problem.