[Adventurer] Count Emptiness

Mountain level here: Count Emptiness

This level introduce trim method and how to get rid of leading and trailing whitespaces in texts.

1 Like

Interesting, I was able to complete without issue.

for LUA there doesn’t seem to be a trim function, so I am looking at alternatives.

type 5 might be a good implementation, however match is not working at the moment. Not sure if I should just code a simple loop function?