String operations/functionality.
String operations/functionality.
(combined-by-function-list list1 list2 & [join-text func])
Combines two lists of string into a new list using a join_text separator and optionally filters the resulting elements based on a given function.
Parameters
list1 (list) The first list of string.
list2 (list) The second list of string.
join_text (str, optional) The separator text used to join elements from list1 and list2. Default is an empty string.
func (function, optional) A filtering function that takes a combined string as input and returns True or False. If provided, only elements for which func returns True will be included in the result. Default is None.
Returns A list of combined and optionally filtered string.
Combines two lists of string into a new list using a join_text separator and optionally filters the resulting elements based on a given function. **Parameters** * **list1** (list) The first list of string. * **list2** (list) The second list of string. * **join_text** (str, optional) The separator text used to join elements from list1 and list2. Default is an empty string. * func (function, optional) A filtering function that takes a combined string as input and returns True or False. If provided, only elements for which func returns True will be included in the result. Default is None. **Returns** A list of combined and optionally filtered string.
(combined-list list1 list2 & [join-text])
Creates a new list by multiplying elements from two input lists, and joining them with the specified join_text separator.
Parameters
list1 (list) The first input list.
list2 (list) The second input list.
join_text (str, optional) The separator used to join elements from the input lists. Defaults to an empty string.
Returns A new list where elements from the two input lists are multiplied and joined with the join_text separator.
Creates a new list by multiplying elements from two input lists, and joining them with the specified join_text separator. **Parameters** * **list1** (list) The first input list. * **list2** (list) The second input list. * **join_text** (str, optional) The separator used to join elements from the input lists. Defaults to an empty string. **Returns** A new list where elements from the two input lists are multiplied and joined with the join_text separator.
(split-and-trim text & [delimiter])
Return LazySeq
Return LazySeq
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close