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

 
 
 
 

 
 
 
 
 
 
 
 
 

Mid function

String functions


Syntax

 

result = Mid (String, nFirst, nCount)


Description:

 

Extracts a substring of length nCount characters from the String, starting at position nFirst. The function returns a copy of the extracted substring. Mid is similar to the Basic MID$ function.


Arguments:

 

String - String from which the middle part will be extracted.

nFirst - The position of the first character in the String that is to be included in the extracted substring.

nCount - The number of characters to extract from String.


Examples:

String = "Good Day Sunshine"
Converted = Mid(String,6,3)

Converted contains "Day"

Mid function is included in the lcbase.dll

 
Last updated: November 2, 2003
Copyright © 2002 Lucersoft

Add to favorites

Back