Document which escape sequences are supported by String.c_unescape()
See https://github.com/godotengine/godot/issues/38716.
(cherry picked from commit 04b25108ac
)
This commit is contained in:
parent
11bceb3d62
commit
5c7802a061
1 changed files with 2 additions and 1 deletions
|
@ -253,7 +253,8 @@
|
|||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
Returns a copy of the string with escaped characters replaced by their meanings according to the C language standard.
|
||||
Returns a copy of the string with escaped characters replaced by their meanings. Supported escape sequences are [code]\'[/code], [code]\"[/code], [code]\?[/code], [code]\\[/code], [code]\a[/code], [code]\b[/code], [code]\f[/code], [code]\n[/code], [code]\r[/code], [code]\t[/code], [code]\v[/code].
|
||||
[b]Note:[/b] Unlike the GDScript parser, this method doesn't support the [code]\uXXXX[/code] escape sequence.
|
||||
</description>
|
||||
</method>
|
||||
<method name="capitalize">
|
||||
|
|
Loading…
Reference in a new issue