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) |
||||||
std_str_cmpDescriptionThis 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. Syntax std_str_cmp($string_answer) Params $string_answer is a variable containin an ASCII string which is the correct answer. Options
Returns Answer evaluator. Examples ANS( std_str_cmp("hello") Notes std_str_cmp($string_answer) is exactly equivalent to
|