cdh.core.js_urls.utils.text module

JS URLs text utilities

This modules defines utilities allowing to text and strings.

cdh.core.js_urls.utils.text.replace(data, replacements)[source]

Allows to performs several string substitutions.

This function performs several string substitutions on the initial data string using a list of 2-tuples (old, new) defining substitutions and returns the resulting string.