AtLineNum()

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

AtLineNum()

Previous pageReturn to chapter overviewNext page

Purpose

To determine the line number of a string within a multi-line string

Syntax

AtLineNum(<cSearchFor>, <cSearchIn> ) nNumber

Argument

<cSearchFor> is the character string to search for

<cSearchIn> is the character string to search

Returns

AtLineNum() returns a numeric indicating the line number of <cSearchFor> within <cSearchIn>.  If <cSearchFor> is not found, AtLineNum() returns 0.