strUtf8Length function

int strUtf8Length(
  1. String string
)

Implementation

int strUtf8Length(String string) => unescape(encodeURIComponent(string)).length;