WLJS LogoWLJS Notebook

StringByteCount

StringByteCount["string"] gives the total number of bytes used to store the characters in a string.

Examples

StringByteCount["Hello"]
(* 5 *)
StringByteCount["日本語"]
(* 9 *)

Please visit the official Wolfram Language Reference for more details.

On this page