pub fn parse_doc_result_from_kp_word_key(str: &str) -> DocResult {
        let mut dr = DocResult::new();
        let (_path_str, seq_str, arraypath_str) =
            KeyBuilder::split_seq_arraypath_from_kp_word_key(str);
        dr.seq = seq_str.parse().unwrap();
        if !arraypath_str.is_empty() {
            for numstr in arraypath_str.split(',') {
                dr.arraypath.push(numstr.parse().unwrap());
            }
        }
        dr
    }
/// parses a seq and array path portion (ex "123,0,0,10) of a key into a doc result
parses a seq and array path portion (ex "123,0,0,10) of a key into a doc result
parses a seq and array path portion ( ex " 123 0 0 10 ) of a key into a doc result
pub fn parse_doc_result_from_kp_word_key(str: &str) -> DocResult {
        let mut dr = DocResult::new();
        let (_path_str, seq_str, arraypath_str) =
            KeyBuilder::split_seq_arraypath_from_kp_word_key(str);
        dr.seq = seq_str.parse().unwrap();
        if !arraypath_str.is_empty() {
            for numstr in arraypath_str.split(',') {
                dr.arraypath.push(numstr.parse().unwrap());
            }
        }
        dr
    }
pub fn parse_doc_result_from_kp_word_key ( str : & str ) -> DocResult { let mut dr = DocResult :: new ( ) ; let ( _path_str , seq_str , arraypath_str ) = KeyBuilder :: split_seq_arraypath_from_kp_word_key ( str ) ; dr . seq = seq_str . parse ( ) . unwrap ( ) ; if ! arraypath_str . is_empty ( ) { for numstr in arraypath_str . split ( ',' ) { dr . arraypath . push ( numstr . parse ( ) . unwrap ( ) ) ; } } dr }
parses a seq and array path portion (ex "123,0,0,10) of a key into a doc result
parses a seq and array path portion ( ex " 123 0 0 10 ) of a key into a doc result
str
&str
str
&str