a library of string utilities for use in darktable lua scripts
local ds = require "lib/dtutils.string"
This library contains string manipulation routines to aid in building darktable lua scripts.
ds - library - the darktable lua string library
escape characters for xml documents
check if a string has been sanitized
surround a string in quotes making it safe to pass as an argument
escape lua ‘magic’ characters from a pattern string
strip accents from characters
encode a string in a websafe manner
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.