The R Project SVN R

Rev

Rev 61153 | Rev 65045 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61153 Rev 61983
Line 50... Line 50...
50
 
50
 
51
  A missing value of \code{split} does not split the corresponding
51
  A missing value of \code{split} does not split the corresponding
52
  element(s) of \code{x} at all.
52
  element(s) of \code{x} at all.
53
 
53
 
54
  The algorithm applied to each input string is
54
  The algorithm applied to each input string is
55
\preformatted{
55
\preformatted{    repeat \{
56
    repeat \{
-
 
57
        if the string is empty
56
        if the string is empty
58
            break.
57
            break.
59
        if there is a match
58
        if there is a match
60
            add the string to the left of the match to the output.
59
            add the string to the left of the match to the output.
61
            remove the match and all to the left of it.
60
            remove the match and all to the left of it.