www.lucersoft.com

   
       Home  |   News  |   Downloads  |   Order  |   Contacts

 

 

Main

Home

Site map

Products

LC Backup

LC Copier

HTML Batch Editor

HTML Batch Editor PRO

Tennis 2001

Freeware

Documentation

HTML Batch Editor PRO

LC Basic

Information

Order

Update Policy

Support

Contacts

Links

 
 
 
 

 
 
 
 
 
 
 
 
 

Find function

String functions


Syntax

 

result = Find (String, Substring, nStart)


Description:

 

Searches the Substring in the String and returns index of a first character in this String that matches the requested substring or characters. If a string is not found, function returns 0.


Arguments:

 

String - String in which will be search.

Substring - Specifies a substring to search for.

nStart - Specifies the index of the character in the string to begin the search with, or 1 to start from the beginning. The character at nStart is excluded from the search if nStart is not less or equal to 1.


Examples:

String = "Hello World"
i = Find(String,"World")

i is now 7
String = "Hello Hello World"
i = Find(String,"Hello")
i = Find(String,"Hello",i)

i is now 7

Find function is included in the lcbase.dll

 
Last updated: November 2, 2003
Copyright © 2002 Lucersoft

Add to favorites

Back