Difference between revisions of "Template:Trim/doc"

From Wazeopedia
(Added Category)
m (4 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Template Management]]
+
[[Category:Page Formatting Templates]]
 +
[[Category:Expand Template Documentation]]
 +
 
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
  
 
</includeonly>
 
</includeonly>

Latest revision as of 10:57, 30 November 2015

This is a documentation subpage for Template:Trim.
It contains usage information, categories and other content that is not part of the original template page.

This template trims whitespace from a string. The string should be passed as the first unnamed parameter.

Usage

{{trim|text}} = text with any leading or trailing whitespace removed.

Example

  • {{trim| abc}} produces abc.
https://wazeopedia.waze.com/wiki/Global/index.php?title=Template:Trim/doc&diff=17325&oldid=17323
wazeopedia.waze.com
crawl=CC-MAIN-2019-43
48455
application/http; msgtype=response
sha1:YBIFNDP7MAYXRULC3SFFF5CI2UFXD2JQ
<urn:uuid:750705f2-b7cc-4c28-be60-6165b07df6ff>
2019-10-17T15:46:54Z
107.178.243.94
text/html
sha1:VLO2YPRFZM4S3TWDJXEIEG5LMTBKGPCR
<urn:uuid:e0004fca-6d30-449b-a56a-2aeb41e94f7c>
https://wazeopedia.waze.com/wiki/Global/index.php?title=Template:Trim/doc&diff=17325&oldid=17323
response
<urn:uuid:ce8d31f8-57a3-402f-b328-39e44720d69c>
isPartOf: CC-MAIN-2019-43
publisher: Common Crawl
description: Wide crawl of the web for October 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-242.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/