الگو:Str crop
نسخهٔ تاریخ ۱۳ ژوئن ۲۰۲۱، ساعت ۱۶:۵۹ توسط fa>Plastikspork (Wikipedia:Templates for discussion/Log/2021 June 7#Template:Str crop closed as no consensus (XFDcloser))
Usage
Use to remove the right-most {{{2}}} characters of a string {{{1}}}.
Example
- code
{{str crop |Example |3}}
- result
- Exam
See also
String-handling templates (help page) | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
The above documentation is transcluded from الگو:Str crop/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.