Difference between revisions of "Template:Str crop"

From Wikispooks
Jump to navigation Jump to search
en>Primefac
m (Changed protection level for "Template:Str crop": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
m (1 revision imported)
 
(No difference)

Latest revision as of 02:08, 8 August 2019

Template documentation[view] [edit] [history] [purge]

Usage

Use to remove the right-most {{{2}}} characters of a string {{{1}}}.

Example

code
{{str crop |Example |3}}
result 
Exam

See also