[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Occurs()

         Looks for the number of occurrences in a string

    Syntax:

         Occurs( cString, cSearch ) -> nTimes

         cString : The string to search
         cSearch : The sub-string to look for in cString

    Description:

         Returns the number of times that cSearch is in cString.

         The function is Case Sensitive.

    Return:

         The number of times that cSearch is in cString.

    Example:

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

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson