Expand description
Access a character from subject
at specified position
.
Arguments
subject
- The string to extract from.position
- The position to get the character.
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"