[TextServer] Expose ICU title case string conversion to scripting.

This commit is contained in:
bruvzg
2024-04-04 10:56:49 +03:00
parent f47f4a02c8
commit 27f6f4147b
10 changed files with 66 additions and 0 deletions

View File

@ -1736,6 +1736,16 @@
[b]Note:[/b] The result may be longer or shorter than the original.
</description>
</method>
<method name="string_to_title" qualifiers="const">
<return type="String" />
<param index="0" name="string" type="String" />
<param index="1" name="language" type="String" default="&quot;&quot;" />
<description>
Returns the string converted to title case.
[b]Note:[/b] Casing is locale dependent and context sensitive if server support [constant FEATURE_CONTEXT_SENSITIVE_CASE_CONVERSION] feature (supported by [TextServerAdvanced]).
[b]Note:[/b] The result may be longer or shorter than the original.
</description>
</method>
<method name="string_to_upper" qualifiers="const">
<return type="String" />
<param index="0" name="string" type="String" />