summaryrefslogtreecommitdiff
path: root/doc/classes/String.xml
AgeCommit message (Collapse)Author
2022-11-20Double precision of `String.split_floats`Micky
2022-11-14Merge pull request #68229 from Mickeon/c-escape-hellRémi Verschelde
Remove "?" from String.c_escape()
2022-11-04Add support for empty delimiter in String.splitkobewi
2022-11-03Remove "?" from String.c_escape()Micky
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Merge pull request #66361 from dalexeev/remove-int-plus-stringRémi Verschelde
Unexpose confusing `String + int` and `int + String` operations
2022-10-21Fix small mistakes throughout much of the documentationVolTer
2022-09-24Remove confusing `String + int` and `int + String` operationsDanil Alexeev
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-17[doc] Fix grammar in class docs: amount vs. numberAndy Maloney
Number is used for things that can be counted (discrete items - think "integer" in this context). Also fixes a couple of awkward phrases.
2022-08-09[doc] Use "param" instead of "code" to refer to parameters #3Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-08-05updated the String class with info about the 'allow_empty' optional argumentTom
2022-06-27Improve String.format() documentationHaoyu Qiu
2022-06-12Fix parameter name for String.left and String.rightHaoyu Qiu
2022-03-31Fixing some of my own typos...nova++
(and a little improvement to wording that was bugging me)
2022-03-26doc: Fix String.rsplit code exampleRémi Verschelde
Fixes #36898. Supersedes and closes #36951.
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-14Remove generating of null comparison operators from documentationYuri Roubinsky
2022-02-23Added or improved documentation to a few more String methodsNova
2022-02-22Document String's humanize_size static methodNova
2022-02-21Update doc for match: empty argument doesn't match anythingMarkus Sauermann
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-12Clarify identical `hash()` return values due to collisionsHugo Locurcio
2022-02-08[GDExtension] Add binds for missing methods, operators, and constants ↵bruvzg
required for GDExtension TextServer implementation.
2022-02-04String: Add contains().Anilforextra
2022-01-26Rename String::is_subsequence_ofi to String::is_subsequence_ofnWilson E. Alvarez
2022-01-17Clarify to_float() and to_int() methodskobewi
2022-01-02Fix usage of "Return" in the docskobewi
2021-12-16Make `--doctool` locale awareHaoyu Qiu
* Adds `indent(str)` to `String`: * Indent the (multiline) string with the given indentation. * This method is added in order to keep the translated XML correctly indented. * Moves the loading of tool/doc translation into `editor/editor_translation.{h,cpp}`. * This will be used from both `EditorSettings` and the doc tool from `main`. * Makes use of doc translation when generating XML class references, and setup the translation locale based on `-l LOCALE` CLI parameter. The XML class reference won't be translated if `-l LOCALE` parameter is not given, or when it's `-l en`.
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-11-02Merge pull request #54453 from KoBeWi/slice_of_stringRémi Verschelde
2021-11-02Expose String.get_slicekobewi
2021-10-29Move the docs for constructors and operators out of methods sectionAaron Franke
2021-10-22Fix `bin_to_int` documentation examplesRaul Santos
The `bin_to_int` method uses the `0b` prefix.
2021-10-06doc: Update links to latest documentation after content reorganizationRémi Verschelde
2021-09-20Don't generate empty doc sections and reduce code duplicationAaron Franke
2021-09-17Allow indexing of String values in scripting languagesGeorge Marques
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-24Merge pull request #52041 from Rubonnek/expose-simplify-pathMax Hilbrunner
Expose `String.simplify_path`
2021-08-24Expose String.simplify_pathWilson E. Alvarez
2021-08-23Update documentation for is_absolute_path and is_rel_pathWilson E. Alvarez
2021-08-20Improve documentation for `String.get_extension()`Hugo Locurcio
2021-08-18String: Fix default decimals truncation in num and num_realRémi Verschelde
Fixes undefined behavior, and fixes the logic for negative powers of ten. Fixes #51764. Adds tests to validate the changes and prevent regressions. Adds docs for `String.num`.
2021-08-08Fix Unicode URL link tags to render correctly.follower
Change incorrect `[/code]` closing tags to `[/url]` tags. The `url` tags for the links to the Unicode code points information use `[/code]` rather than `[/url]` to close them. This results in the links being rendered incorrectly in the IDE--the entire rest of the documentation for each method gets turned into a giant underlined link. This issue was introduced in https://github.com/godotengine/godot/commit/a2271ba3bdaa5fab0f6518a2445b839d36e283eb.
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-06-16Rename `is_valid_integer()` to `is_valid_int()`Lightning_A
Method from `String`
2021-06-03Rename `String.is_abs_path()` to `String.is_absolute_path()`Hugo Locurcio
This is more consistent with `NodePath.is_absolute()`.