WLJS LogoWLJS Notebook

Characters

Characters["string"] gives a list of the characters in a string.

Examples

Split into characters:

Characters["Hello"]
(* {"H", "e", "l", "l", "o"} *)

Count characters:

Length[Characters["example"]]
(* 7 *)

Please visit the official Wolfram Language Reference for more details.

On this page