TrimLeft and TrimRight (String functions): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 1: | Line 1: | ||
{{Template:String:TrimLeft subtitle}} | {{Template:String:TrimLeft and TrimRight subtitle}} | ||
These methods remove a specified number of bytes from the left or right end of a string. | |||
==Syntax== | ==Syntax== | ||
{{Template:String:TrimLeft syntax}} | {{Template:String:TrimLeft syntax}} | ||
{{Template:String:TrimRight syntax}} | |||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> |
Revision as of 12:53, 5 February 2011
Trim bytes from left or right of string (String class)
[Introduced in Sirius Mods 7.9]
These methods remove a specified number of bytes from the left or right end of a string.
Syntax
%outString = string:TrimLeft( amount)
%outString = string:TrimRight( amount)
Syntax terms
%outString | outString |
---|---|
string | String object |
amount | Number object |