[][src]Function voca_rs::chop::char_at

pub fn char_at(subject: &str, position: usize) -> String

Access a character from subject at specified position.

Arguments

Example

use voca_rs::*;
chop::char_at("helicopter", 0);
// => "h"
chop::char_at("błąd", 1);
// => "ł"
use voca_rs::Voca;
"helicopter"._char_at(0);
// => "h"