GetSubString

From Sinfar
Revision as of 01:33, 12 October 2024 by Elemuffin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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