suve

awful: unit: strings

  • :chr - get character corresponding to ANSI codepoint
  • :chru - get UTF-8 character corresponding to Unicode codepoint
  • :explode-str - explode a string into an array
  • :implode-str - implode an array into a string
  • :ord - get ANSI codepoint of character
  • :ordu - get Unicode codepoint of UTF-8 character
  • :perc - express one value as percentage of another
  • :str-bytes - get string size in bytes
  • :str-del - delete part of string
  • :str-explode - explode a string into an array
  • :str-implode - implode an array into a string
  • :str-ins - insert one string into other
  • :str-len - check length of string
  • :str-letrim - trim whitespace from beginning of string
  • :str-lower - convert string to lowercase
  • :str-pos - find first occurrence of one string in another
  • :str-rev - reverse string
  • :str-replace - replace all occurrences of a pattern in a string
  • :str-ritrim - trim whitespace from string end
  • :str-rpos - find last occurrence of one string in another
  • :str-sub - return part of string
  • :str-trim - trim whitespace from string sides
  • :str-upper - convert string to uppercase
  • :str-write - write values to ASCII string
  • :str-writeu - write values to UTF-8 string
  • :utf8-write - write values to UTF-8 string

wikipage modified on 2014/0916/1613