I think I tried to post it here before but it didn't work. Im not askin for the full solution, the deadline is passed anyway but this has been keeping me up nights.

"Write a function scanstring...