Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: count function

From: chris:langreiter at: 5-Jul-2001 13:03

count: func [x y /local n] [ n: 0 while [not = none find x y] [ n: n + 1 x: next find x y ] n ] should do the trick for count [a b c a z z] 'a count "boomboxxbox" "box"