mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Update gdscript_format_string.rst
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
GDScript format strings
|
||||
=======================
|
||||
|
||||
GDScript offers a feature called *format strings* which allows reusing text
|
||||
GDScript offers a feature called *format strings*, which allows reusing text
|
||||
templates to succinctly create different but similar strings.
|
||||
|
||||
Format strings are just like normal strings, except they contain certain
|
||||
@@ -270,7 +270,7 @@ examples of that functionality.
|
||||
| Prefix | ``"Hi, %0 v%1".format(["Godette", "3.0"], "%_")`` | Hi, Godette v3.0 |
|
||||
+-----------------+------------------------------------------------------+------------------+
|
||||
|
||||
Combining both the ``String.format`` method and the ``%`` operator could be useful as
|
||||
Combining both the ``String.format`` method and the ``%`` operator could be useful, as
|
||||
``String.format`` does not have a way to manipulate the representation of numbers.
|
||||
|
||||
+---------------------------------------------------------------------------+-------------------+
|
||||
|
||||
Reference in New Issue
Block a user