Template:Str left/doc

Usage
Gives the resultant of characters creating a substring of characters from the start of the trimmed string (i.e. the substring returned will have length, exclusive of leading whitespace characters, which are trimmed first before is invoked).

If is invalid, empty or zero, an empty string is returned. If undefined, it defaults to 1.

Examples

 * → Lorem ipsu
 * → Lore, (note leading spaces trimmed!)
 * → L
 * → Lorem ipsum dolor sit amet
 * → Lorem ipsum dolor sit amet
 * → Lorem ipsum dolor sit amet