UtfSub: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 16: Line 16:
===Returns===
===Returns===
Returns a ''[[string]]'' if the function was successful, ''false'' otherwise.
Returns a ''[[string]]'' if the function was successful, ''false'' otherwise.
===Example===
<section name="Example" class="both" show="true"></section>


==See Also==
==See Also==
{{Utility_functions}}
{{Utility_functions}}

Revision as of 13:09, 5 August 2014

Accessories-text-editor.png Script Example Missing Function UtfSub needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

The function returns a sub string, from the specified positions on a character.

Syntax

string utfSub( string theString, int Start, int End )

Required Arguments

  • theString: The string.
  • Start: An int with the start position.
  • End: An int with the end position.

Returns

Returns a string if the function was successful, false otherwise.

Example

Click to collapse [-]
Example

See Also