REBOL Programming/parse

USAGE:Edit

PARSE input rules /all /case 

DESCRIPTION:Edit

Parses a series according to rules.

PARSE is a native value.

ARGUMENTS:Edit

  • input -- Input series to parse (Type: series)
  • rules -- Rules to parse by (Type: block string none)

REFINEMENTS:Edit

  • /all -- Parses all chars including spaces.
  • /case -- Uses case-sensitive comparison.

SOURCE CODEEdit

parse: native[
    "Parses a series according to rules." 
    input [series!] "Input series to parse" 
    rules [block! string! none!] "Rules to parse by" 
    /all "Parses all chars including spaces." 
    /case "Uses case-sensitive comparison."
]
Last modified on 31 October 2012, at 16:39