On May 29th, 2021, the 7,000th article was added to the SuccuWiki!

Template:Str left

From SuccuWiki - The Wiki of the Succubi
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation


{{Str left|<string>|<count>}}

Gives the <count> substring of characters from the start of the trimmed string (the substring has length <count>).

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


  • Length to 500: The maximum substring stops at 500 long, yet gives no error message. Only 500 characters can be extracted even if the <string> is longer.
  • Inexpensive (uses no other templates).