====== strleft ======
===== Description =====
Extract a substring of text from the start of a string (the 'left').
===== Function prototype =====
string strleft
===== Arguments =====
^ Name ^ Type ^ Comment ^
| //Text// | string | A text string. |
| //nChars// | int | The number of characters to extract from the //Text// argument. |
===== Return value =====
A string containing the desired range of the //Text// string.
===== Example =====
echo
... the output of which is written to the event log by [[plugins:general:zeoscript:reference:functions:echo]] as:
A B C
===== Comments =====
None.
===== See also =====
* [[plugins:general:zeoscript:reference:functions:strsub]]
* [[plugins:general:zeoscript:reference:functions:strright]]