|std_str_cmp||topic started 9/13/2001; 10:23:10 AM
last post 9/13/2001; 10:23:10 AM
|Mike Gage - std_str_cmp
9/13/2001; 10:23:10 AM (reads: 670, responses: 0)
This is an old version of the str_cmp, the answer evalator creator. It compares the student answer and the correct answer ignoring case, and treating successive interior white spaces as a single white space and ignoring leading and trailing white space.
$string_answer is a variable containin an ASCII string which is the correct answer.
std_str_cmp($string_answer) is exactly equivalent to