Template:Str endswith
Jump to navigation
Jump to search
yes
- 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
The above documentation is transcluded from Template:Str endswith/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |