Liking cljdoc? Tell your friends :D

info.setmy.string.operations

String operations/functionality.

String operations/functionality.
raw docstring

combined-by-function-listclj

(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.
sourceraw docstring

combined-listclj

(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.
sourceraw docstring

comma-stringclj

source

empty-stringclj

source

find-named-placeholdersclj

(find-named-placeholders text & [as-clean])
source

json-to-objectclj

(json-to-object text & [default-value])
source

nil-to-defaultclj

(nil-to-default text & [default-text])
source

replace-named-placeholderclj

(replace-named-placeholder text place-holder-name replacement)
source

split-and-trimclj

(split-and-trim text & [delimiter])

Return LazySeq

Return LazySeq
sourceraw docstring

to-booleanclj

(to-boolean text & [default-value])
source

to-doubleclj

(to-double text & [default-value])
source

to-floatclj

(to-float text & [default-value])
source

to-intclj

(to-int text & [default-value])
source

to-longclj

(to-long text & [default-value])
source

to-shortclj

(to-short text & [default-value])
source

trim-listclj

(trim-list strings-list)
source

yaml-to-objectclj

(yaml-to-object text & [default-value])
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close