Template:Trim %/doc: Difference between revisions
Template page
More actions
Created page with "{{safesubst<noinclude/>:#invoke:String|replace|{{{1|}}}|%|}}<noinclude> {{documentation}} </noinclude>" |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{ | This template removes any '%' characters from a string. | ||
</ | |||
== Usage == | |||
{{tlx|trim %|''text''}} = ''text'' with any '%' characters removed. | |||
== Example == | |||
*{{tlx|trim %|25%}} produces "{{trim %|25}}". | |||
*{{tlx|trim %|25}} produces "{{trim %|25}}". | |||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line --> | |||
[[Category:String manipulation templates]] | |||
}}</includeonly> | |||
Latest revision as of 02:12, 24 February 2025
| This is a documentation subpage for Template:Trim %. It may contain usage information, categories and other content that is not part of the original template page. |
This template removes any '%' characters from a string.
Usage
{{trim %|text}} = text with any '%' characters removed.
Example
{{trim %|25%}}produces "25".
{{trim %|25}}produces "25".