removed a loop from StrStream.match(wstring)

String can be directly compared, almost always faster than looping over them.