171
edits
imported>JohnB m (→See Also) |
m (Correct Parameter Name (str --> s)) |
||
| Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
string Function Substring(string | string Function Substring(string s, int startIndex, int len = 0) global native | ||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
* | *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. | ||
edits