1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>trim.text</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="generallibrary.html" title="General Library Templates"><link rel="prev" href="comment-escape-string.recursive.html" title="comment-escape-string.recursive"><link rel="next" href="str.tokenize.keep.delimiters.html" title="str.tokenize.keep.delimiters"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">trim.text</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="comment-escape-string.recursive.html">Prev</a>�</td><th width="60%" align="center">General Library Templates</th><td width="20%" align="right">�<a accesskey="n" href="str.tokenize.keep.delimiters.html">Next</a></td></tr></table><hr></div><div class="refentry" title="trim.text"><a name="trim.text"></a><div class="titlepage"></div>
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>trim.text</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="generallibrary.html" title="General Library Templates"><link rel="prev" href="comment-escape-string.recursive.html" title="comment-escape-string.recursive"><link rel="next" href="str.tokenize.keep.delimiters.html" title="str.tokenize.keep.delimiters"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">trim.text</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="comment-escape-string.recursive.html">Prev</a>�</td><th width="60%" align="center">General Library Templates</th><td width="20%" align="right">�<a accesskey="n" href="str.tokenize.keep.delimiters.html">Next</a></td></tr></table><hr></div><div class="refentry" title="trim.text"><a name="trim.text"></a><div class="titlepage"></div>
2
2
<div class="refnamediv"><h2>trim.text</h2><p>
4
4
— Trim leading and trailing whitespace from a text node
9
9
<p>Given a text node, this function trims leading and trailing
10
10
whitespace from it and returns the trimmed contents.</p>