Function BeforAtNum() Foundation

Substring left to the last occurrance of a search string found in a string.

Syntax
BeforAtNum( <cSearchString>         , ;
            <cString>               , ;
            [<nCount>]              , ;
            [<nIgnoreCharsFromLeft>]  ;  // Default: 0
          ) --> cResultString
Return

BeforeAtNum() returns the substring found left to the last occurrance of a search string within a string.

Description

<cSearchString> is the string to be searched in <cString>. <nCount> defines how many times <cSearchString> is to be found before the function returns. It defaults to the last occurrance of <cSearchString> in <cString>. The number of <nIgnoreCharsFromLeft> characters at the beginning of <cString> are ignored in the search.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.