String manipulation routines
Part V. YaST2 Library Reference
String manipulation routines
Table of Contents
String::CAlnum
-
String::CAlpha
-
String::CDigit
-
String::CGraph
-
String::CLower
-
String::CPrint
-
String::CPunct
-
String::CSpace
-
String::CUpper
-
String::CXdigit
-
String::CutBlanks
- Remove blanks at begin and end of input string.
String::CutRegexMatch
- Remove first or every match of given regular expression from a string
String::CutZeros
- Remove any leading zeros
String::EscapeTags
- Function for escaping (replacing) (HTML|XML...) tags with their (HTML|XML...) meaning.
String::FirstChunk
- Shorthand for select (splitstring (s, separators), 0, "") Useful now that the above produces a deprecation warning.
String::FormatSize
- Return a pretty description of a byte count
String::FormatSizeWithPrecision
- Return a pretty description of a byte count
String::Pad
- Add spaces after the text to make it long enough
String::PadZeros
- Add zeros before the text to make it long enough.
String::ParseOptions
- Parse string of values
String::Quote
- Quote a string with 's
String::UnQuote
- Unquote a string with 's (quoted with quote)
String::ValidCharsFilename
- Characters valid in a filename (not pathname). Naturally "/" is disallowed. Otherwise, the graphical ASCII characters are allowed.