Skip to main content
Participating Frequently
June 13, 2008
Question

Count number of occurrances in a string

  • June 13, 2008
  • 1 reply
  • 331 views
Say I have a string "update insert drop drop" and I want to count how many times "drop" is in the string. What's the best way to go about doing this?
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 13, 2008
    Here's one way: