Difference between revisions of "SubString"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay, removing tag)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=SubString
 
|name=SubString

Latest revision as of 22:35, 24 February 2010

Returns a substring of a string.

string SubString(
string sString,
int nStart,
int nCount
);
Parameters:
sString
The string to extract the substring from
nStart
The start of the range to extract
nCount
The number of letters to use in the substring
Returns:

Returns the specified substring, returns an empty string on error.

Source:

script.ldf

Description

Returns nCount number of sequential characters from the string sString starting at character number nStart. Like all string operations, the index is 0 based.