openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

`opEquals()`, `opIndex()`, and multiple other functions missing for `wstring` #508

Closed CodyNinja1 closed 2 months ago

CodyNinja1 commented 3 months ago

It would be nice if we could have most functions available in string, be also available in wstring, like opEquals(), and opIndex()

codecat commented 2 months ago

Generally, I recommend casting wstring to string if you need to do complex operations on it, for compatibility sake. Internally, wstring is just string nowadays anyway.

But I did add opCmp for string comparisons now.