GetSubString: Difference between revisions

From Sinfar
(Created page with "====== GetSubString ====== <syntaxhighlight lang="c">string GetSubString(string sString, int nStart, int nCount=2147483647);</syntaxhighlight> The original documentation can be found here: https://nwnlexicon.com/index.php?title=GetSubString On Sinfar This function has been extended work like PHP's substr function: https://php.net/substr so: * nCount is optional * nCount and nStart can be negative Category:Builders Tools Category:Scripting Systems Category:C...")
 
(No difference)

Latest revision as of 01:33, 12 October 2024

GetSubString
string GetSubString(string sString, int nStart, int nCount=2147483647);

The original documentation can be found here: https://nwnlexicon.com/index.php?title=GetSubString

On Sinfar This function has been extended work like PHP's substr function: https://php.net/substr so:

  • nCount is optional
  • nCount and nStart can be negative