Commit d939e064 authored by jhammen's avatar jhammen
Browse files

place string methods in alphabetical order

parent fc109549
......@@ -164,22 +164,6 @@ an array is zero-based
<parameter name='substring'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='len' returns='integer'>
<desc lang="en">returns the length of the string</desc>
</method>
<method name='tointeger' returns='integer'>
<desc lang="en">returns the value as an integer</desc>
</method>
<method name='tofloat' returns='float'>
<desc lang="en">returns the value as a float</desc>
</method>
<method name='slice' returns='string'>
<desc lang="en">returns a substring as a new string</desc>
<parameters>
<parameter name='start'><desc lang="en"/></parameter>
<parameter name='end' optional='true'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='find' returns='integer'>
<desc lang="en">returns the first index of the given substring, starting from parameter index if given</desc>
<parameters>
......@@ -194,6 +178,9 @@ an array is zero-based
<parameter name='index' optional='true'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='len' returns='integer'>
<desc lang="en">returns the length of the string</desc>
</method>
<method name='matches' returns='bool'>
<desc lang="en">returns true if the entire string matches the string or regular expression pattern</desc>
<parameters>
......@@ -208,6 +195,13 @@ an array is zero-based
<parameter name='global' optional='true'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='slice' returns='string'>
<desc lang="en">returns a substring as a new string</desc>
<parameters>
<parameter name='start'><desc lang="en"/></parameter>
<parameter name='end' optional='true'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='split' returns='array'>
<desc lang="en">splits the string into multiple using a character, string or regular expression delimiter</desc>
<parameters>
......@@ -220,6 +214,12 @@ an array is zero-based
<parameter name='substring'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='tofloat' returns='float'>
<desc lang="en">returns the value as a float</desc>
</method>
<method name='tointeger' returns='integer'>
<desc lang="en">returns the value as an integer</desc>
</method>
<method name='tolower' returns='bool'>
<desc lang="en">returns a copy of the string converted to lower case</desc>
</method>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment