# lib_list function library

Dependencies: install_sfo.tpa, lib_eff.tpa, lib_evaluate.tpa, lib_general.tpa, lib_internal.tpa, lib_itm.tpa, lib_macro.tpa, lib_patch.tpa, lib_spl.tpa, lib_table.tpa, lib_text.tpa, lib_tools.tpa

## Description

## Public Functions

add_elements_to_list(number_to_add:i, list:s, elements:s)=(list:s) patch
add_elements_to_list(number_to_add:i, list:s, elements:s)=(list:s) action

count_list(list:s)=(value:s) patch

element_in_list(element:s, list:s)=(value:s) patch
element_in_list(element:s, list:s)=(value:s) action

invert_list(list:s)=(list:s) patch
invert_list(list:s)=(list:s) action

join(list1:s, list2:s)=(list:s) patch
join(list1:s, list2:s)=(list:s) action

length_of_list(list:s)=(value:s) patch
length_of_list(list:s)=(value:s) action

push(head:s="SFO_unspecified", tail:s="SFO_unspecified")=(list:s) patch
push(head:s="SFO_unspecified", tail:s="SFO_unspecified")=(list:s) action

read_in_assoc_array(file:s, location:s, locbase:s, locabs:s, force_case:s)=(list:s, array:a) action
read_in_assoc_array(file:s, location:s, locbase:s, locabs:s)=(list:s, array:a) patch

read_in_list(col:i, existing:i, first_row:i, file:s, location:s, locbase:s, locabs:s, force_case:s)=(list:s, array:a) dimorphic

read_in_list_core(col:i, first_row:i, force_case:s)=(list:s, array:a) patch

return_first_entry(list:s, separator:s=" ")=(list:s, entry:s) patch
return_first_entry(list:s, separator:s=" ")=(list:s, entry:s) action

return_first_pair(list:s, arrow:s=":s=>")=(list:s, key:s, value:s) patch
return_first_pair(list:s)=(key:s, value:s, list:s) action

return_random_entry(list:s)=(entry:s) patch
return_random_entry(list:s)=(entry:s) action

split_from_left(string:s, splitter:s)=(left:s, right:s) patch
split_from_left(string:s, splitter:s)=(left:s, right:s) action

split_from_right(string:s, splitter:s)=(left:s, right:s) patch
split_from_right(string:s, splitter:s)=(left:s, right:s) action

write_list(list:s, file:s, locabs:s="weidu_external/data/dw_talents", location:s, locbase:s)=() action
write_list(list:s, file:s, locabs:s="weidu_external/data/dw_talents", location:s, locbase:s)=() patch