Function voca_rs::split::chars

source ·
pub fn chars(subject: &str) -> Vec<&str>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
Expand description

Splits subject into an array of characters.

Arguments

  • subject - The string to split into characters.

Example

use voca_rs::*;
split::chars("cloud");
// => ["c", "l", "o", "u", "d"]
use voca_rs::Voca;
"cloud"._chars();
// => ["c", "l", "o", "u", "d"]