DEV Community

hwangs12
hwangs12

Posted on

String size vs string length

I don't know what the difference is so I searched what the difference is...

They are the same! It is for semantic purpose that both methods exist in different names but the function is exactly the name - which returns a number of characters.

So, mystery solved!

Top comments (0)