From Wikipedia, the free encyclopedia

Usage

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

Example

Code Result
{{str crop |Example |3}} Exam
{{str crop |123.456|3}} 123.
{{str crop |123.456|-3}} 12
{{str crop |123.456|4}} 123
{{str crop |123.456|-4}} 123
{{str crop |123.456|0}} 123.456
{{str crop |123.456|7}}

See also


From Wikipedia, the free encyclopedia

Usage

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

Example

Code Result
{{str crop |Example |3}} Exam
{{str crop |123.456|3}} 123.
{{str crop |123.456|-3}} 12
{{str crop |123.456|4}} 123
{{str crop |123.456|-4}} 123
{{str crop |123.456|0}} 123.456
{{str crop |123.456|7}}

See also



Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook