Revision Difference
string.TrimRight#511930
<function name="TrimRight" parent="string" type="libraryfunc">⤶
<description>Removes trailing spaces/passed character from a string.</description>⤶
<realm>Shared and Menu</realm>⤶
<file line="255">lua/includes/extensions/string.lua</file>⤶
<args>⤶
<arg name="str" type="string">String to remove from</arg>⤶
<arg name="char" type="string" default="">Custom character to remove, default is a space</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="string">Trimmed string</ret>⤶
</rets>⤶
</function>⤶
⤶