Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

[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.


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?