YCP String Builtins


Table of Contents

size - Returns the number of characters of the string s
issubstring - searches for a specific string within another string
tohexstring - Converts a integer to a hexadecimal string.
substring - Return part of a string
substring - Extract a substring
find - Return position of a substring
tolower - Make a string lowercase
toupper - Make a string uppercase
toascii - FIXME
deletechars - Delete charachters from a string (FIXME)
filterchars - Filter charachters out of a String
mergestring - Join list elements with a string
findfirstnotof - Search string for first non matching chars
findfirstof - Find position of first matching charachters in string
findlastof - Searches string for the last match
findlastnotof - Searches the last element of string that doesn't match
regexpmatch - Searches a string for a POSIX Extended Regular Expression match.
regexppos - Returns a pair with position and length of the first match.
regexpsub - Regex Substitution
regexptokenize - Regex tokenize
tostring - Converts a value to a string.
timestring - Return time string
crypt - Encrypt a string
cryptmd5 - Encrypt a string using md5
cryptbigcrypt - Encrypt a string using bigcrypt
cryptblowfish - Encrypt a string with blowfish
dgettext - Translates the text using the given text domain
dngettext - Translates the text using a locale-aware plural form handling