Files
BlitzNext/_release/help/commands/2d_commands/Trim.htm
T
2014-12-08 12:43:20 +13:00

44 lines
819 B
HTML

<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>Trim$( string$ )</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
string$ - any valid string
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
This function removes leading and trailing spaces from the specified string.
</td>
</tr>
</table>
<h1><a href=../2d_examples/Trim.bb>Example</a></h1>
<table>
<tr>
<td>
Graphics 640,480,0,2
<br />
<br />
a$ = " Weeeeee "
<br />
<br />
Text 0,0,a$
<br />
Text 0,20,Trim$(a$)
<br />
<br />
WaitKey()
</td>
</tr>
</table>
<br>
<a target=_top href=../index.htm>Index</a><br>
<br>
Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=Trim&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
</html>