Substring - StringUtil: Difference between revisions

Jump to navigation Jump to search
m
Correct Parameter Name (str --> s)
imported>JohnB
m (Correct Parameter Name (str --> s))
Line 8: Line 8:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
string Function Substring(string str, int startIndex, int len = 0) global native
string Function Substring(string s, int startIndex, int len = 0) global native
</source>
</source>


== Parameters ==
== Parameters ==
*str: The string from which to retrieve the substring.
*s: The string from which to retrieve the substring.
*startIndex: Starting character position of a substring.
*startIndex: Starting character position of a substring.
*len: An optional length of the substring. Default of 0 means for the entire string.
*len: An optional length of the substring. Default of 0 means for the entire string.
171

edits

Navigation menu