# StringChars `````{roto:type} StringChars A view into a string indexed by chars. ````` ````{roto:function} get(self: StringChars, idx: u64) -> Option[char] Get the nth character of this string. ```` ````{roto:function} len(self: StringChars) -> u64 Get the number of characters in a string. ```` ````{roto:function} list(self: StringChars) -> List[char] Get a list of characters that this string consists of. ```` ````{roto:function} slice(self: StringChars, start: u64, end: u64) -> Option[String] Slice this string based on the character indices. The character at index `end` is not included in the returned string. This method returns `None` if either `start` or `end` is out of bounds or if `start` is greater than `end`. ````