str_wordInString.hla memory bug
Brought to you by:
evenbit
1. the documentation calls it str.wordInStr
actual iterator name is str.wordInString
2. documentation states words are allocated on HEAP and caller is responsible to free string
iterator actually allocates local copies of each word as well as the local copy of the original string. the string is freed automatically when control is returned to iterator.
one or the other has to change.
Logged In: YES
user_id=1569530
Originator: NO
Made the documentation match the code. Changed the name to str_wordInStr.