Changes
MidStr
,Created page with "Returns a part, starting from a specified position and of a specified length, of a specified string expression. ==== Usage ==== <syntaxhighlight>MidStr("String",Pos,Num)</s..."
Returns a part, starting from a specified position and of a specified length, of a specified string expression.
==== Usage ====
<syntaxhighlight>MidStr("String",Pos,Num)</syntaxhighlight>
Where: [[String]] - a string expression the specified part is to be taken from
[[Pos]] - a numerical expression specifying the position, from the left side of the string, of the starting character of the part
[[Num]] - a numerical expression specifying the length, in characters, of the part
==== Example ====
<syntaxhighlight>MidStr("Largest winning trade",1,7); will return a string expression "Largest"</syntaxhighlight>
[[Category:Text Manipulation]]
==== Usage ====
<syntaxhighlight>MidStr("String",Pos,Num)</syntaxhighlight>
Where: [[String]] - a string expression the specified part is to be taken from
[[Pos]] - a numerical expression specifying the position, from the left side of the string, of the starting character of the part
[[Num]] - a numerical expression specifying the length, in characters, of the part
==== Example ====
<syntaxhighlight>MidStr("Largest winning trade",1,7); will return a string expression "Largest"</syntaxhighlight>
[[Category:Text Manipulation]]