Skip to main content

index_list

Function index_list 

Source
pub fn index_list(s: &str, n: usize, what: &str) -> Result<Vec<usize>>
Expand description

“1,3” のような 1 始まりの番号の並びを 0 始まりにする。“all” は 0..n