diff options
| author | Rémi Verschelde | 2017-12-15 19:56:39 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-15 19:56:39 +0100 |
| commit | 7767d89c4501041229d723d5445aa103ffe71937 (patch) | |
| tree | adaef9dab705577179bd505e9fd8ffcc232f5c21 /doc/classes | |
| parent | 0de3cde6fc9f7d02295d12a823261340efa7f841 (diff) | |
| parent | 5302fd125b36d453615483f6ced4e40e973c499a (diff) | |
| download | godot-7767d89c4501041229d723d5445aa103ffe71937.tar.gz godot-7767d89c4501041229d723d5445aa103ffe71937.tar.zst godot-7767d89c4501041229d723d5445aa103ffe71937.zip | |
Diffstat (limited to 'doc/classes')
| -rw-r--r-- | doc/classes/String.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 78e9f3cd3..8bbd52b41 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -662,8 +662,11 @@ </argument> <argument index="1" name="allow_empty" type="bool" default="True"> </argument> + <argument index="2" name="maxsplit" type="int" default="0"> + </argument> <description> Splits the string by a divisor string and returns an array of the substrings. Example "One,Two,Three" will return ["One","Two","Three"] if split by ",". + If [code]maxsplit[/code] is given, at most maxsplit number of splits occur, and the remainder of the string is returned as the final element of the list (thus, the list will have at most maxsplit+1 elements) </description> </method> <method name="split_floats"> |
