diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-14 11:56:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-14 11:56:24 -0300 |
commit | 7c4167de64bf6804d3a40042a0961653886d8c03 (patch) | |
tree | 501b776842ec067c5be89e0eb920522eac99f773 /core/ustring.h | |
parent | f4897fccf0c3144822b9341cc0960870f7ebd43f (diff) | |
parent | d8129719c299dc9f5f46087798d1b220ca79aae8 (diff) | |
download | redot-engine-7c4167de64bf6804d3a40042a0961653886d8c03.tar.gz |
Merge pull request #7010 from AlexHolly/format-string2
advanced string format
Diffstat (limited to 'core/ustring.h')
-rw-r--r-- | core/ustring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ustring.h b/core/ustring.h index 674551ec80..426762a9e1 100644 --- a/core/ustring.h +++ b/core/ustring.h @@ -125,6 +125,7 @@ public: bool is_subsequence_ofi(const String& p_string) const; Vector<String> bigrams() const; float similarity(const String& p_string) const; + String format(const Variant& values,String placeholder="{_}") const; String replace_first(String p_key,String p_with) const; String replace(String p_key,String p_with) const; String replacen(String p_key,String p_with) const; |