×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

LeftStr

201 bytes added, 07:38, 9 February 2012
no edit summary
Returns one or more leftmost characters from the specified string expression.
==== Usage ====<syntaxhighlight>LeftStr(String,sSize)</syntaxhighlight>
Where: [[ :'''String]] ''' - a string expression from which the characters are to be taken.
[[:'''sSize]] ''' - a numerical expression specifying the number of characters to be returned ==== Example ====<syntaxhighlight>LeftStr("Hello World",5); will return a string expression "Hello"</syntaxhighlight> .
== Example ==
<syntaxhighlight>LeftStr("Hello World", 5);</syntaxhighlight>
Will return a string expression "Hello".
 
== Notes ==
* See [[MidStr]] to return a middle part of a string,
* See [[RightStr]] to return the rightmost part of a string,
* See [[InStr]] to get the starting location of a expression in a string.
[[Category:Text Manipulation]]