text: ﻿<!DOCTYPE html>
  <html>
  	<head>
  		<title>TRIM Function</title>
  		<meta charset="utf-8" />
  		<meta name="description" content="" />
  		<link type="text/css" rel="stylesheet" href="../editor.css" />
  	</head>
  	<body>
  		<div class="mainpart">
  			<h1>TRIM Function</h1>
  			<p>The <b>TRIM</b> function is one of the text and data functions. Is used to remove the leading and trailing spaces from a string.</p>
  			<p>The <b>TRIM</b> function syntax is:</p> 
  			<p style="text-indent: 150px;"><b><em>TRIM(string)</em></b></p> 
  			<p>where <b><em>string</em></b> is a text value entered manually or included into the cell you make reference to.</p>
  			<p>To apply the <b>TRIM</b> function,</p>
  			<ol>
  			<li>select the cell where you wish to display the result,</li>
  			<li>click the <b>Insert Function</b> <img alt="Insert Function icon" src="../images/insertfunction.png" /> icon situated at the top toolbar,
  				<br />or right-click within a selected cell and select the <b>Insert Function</b> option from the menu,
  				<br />or click the <img alt="Function icon" src="../images/function.png" /> icon situated at the formula bar,
  			</li>
  			<li>select the <b>Text and data</b> function group from the list,</li>
  			<li>click the <b>TRIM</b> function,</li>
  			<li>enter the required argument,
  			</li>
  			<li>press the <b>Enter</b> button.</li>
  			</ol>
  			<p>The result will be displayed in the selected cell.</p>
  			<p style="text-indent: 150px;"><img alt="TRIM Function" src="../images/trim.png" /></p>
  		</div>
  	</body>
  </html>