Functions

  • Find index of first charater after OWS(optional white spaces) or Obsolete line folding
  • Find index of first charater after padding white spaces and CRLFs
  • Find index of a ascii character that forms a language construct, quoted characters are opaque tokens by definition, therefore are not taken into account
  • Find index of a ascii character that forms a language construct, bypass all tokens that are bracket or double quoted
  • Adding quote to a string if neccessary so that it can be correctly used in a internet message header parameter field
  • Trim a string from both starting and ending white spaces
  • Remove wrapping brackets from a string to retrieve its literal value
  • Unquote a string to retrieve its literal value