Template:Str endswith/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Str endswith. It contains usage information, categories, and other content that is not part of the original template page. |
- Usage
- Returns yes if a string ends with a specified suffix, nothing otherwise.
- Template:SandboxDocumentation
- Examples
-
{{Str endswith|example/doc|/doc}}
→ yes{{Str endswith|example|/doc}}
→ "" (nothing)
- Syntax
{{Str endswith | <string> | <suffix> | nocategory=<nocategory> }}
- Parameters
-
- <string>
- the tested string
- <suffix>
- the suffix to be searched at the end of the tested <string>
- nocategory=<nocategory>
- Not used, should be removed from doc and template