Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>occurs()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Occurs()

         Looks for the occurrences number into a string

    Syntax:

         Occurs( cString, cSearch ) -> nTimes

         cString : The string where look for
         cSearch : The sub-string to look for into cString

    Description:

         Returns the time number that cSearch is content into cString.
         The function is Case Sensitive.

    Return:

         The time number that cSearch is content into cString.

    Example:

         ? Occurs ( "Manu Roibal", "j" )   //  0
         ? Occurs ( "Manu Roibal", "A" )   //  0
         ? Occurs ( "Manu Roibal", "a" )   //  2

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson