Template:Str len/doc: Difference between revisions
Template page
More actions
No edit summary |
{{SandboxDocumentation}} |
||
| Line 7: | Line 7: | ||
It takes a string as parameter and returns its length (excluding those at the start and end). It can count up to 500 in length, and returns 500 for strings that are too long. | It takes a string as parameter and returns its length (excluding those at the start and end). It can count up to 500 in length, and returns 500 for strings that are too long. | ||
'''Note | '''{{Note:}}''' For most usage cases it is much easier and costs much less server resources to use {{tl|str ≥ len}} or one of its sister templates. See the [[#See also|see also]] section below. | ||
{{SandboxDocumentation}} | |||
=== Examples === | === Examples === | ||