VA FileMan V. 22.0 Getting Started HTML Manual Banner


 

Main Chapter Getting Started Manual Programmer Manual

VA FileMan Functions


$F[IND]

Format:
  1. $F(string,target)

  2. $F(string,target,n)
Parameters:

string is a string expression.

target is the character(s) or an expression yielding the character(s) to be searched for.

n is a positive integer or an expression yielding a positive integer.

Use: This function returns the character position in string following the target. If n is specified as a third argument, the search for target is begun after character position n. If target is not found, 0 is returned.
Examples:

$F("Smith,Al",",")=> 7

$F(NAME,",",7)=> 0 [NAME has value of Smith,Al]

 


Reviewed/Updated: March 4, 2007