<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24wrap</id>
	<title>$wrap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24wrap"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$wrap&amp;action=history"/>
	<updated>2026-05-15T02:10:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$wrap&amp;diff=4646&amp;oldid=prev</id>
		<title>Daveoh at 04:59, 11 August 2008</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$wrap&amp;diff=4646&amp;oldid=prev"/>
		<updated>2008-08-11T04:59:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Returns Nth line in text wrapped to the specified width in pixels.&lt;br /&gt;
 $wrap(text, font, size, width, [word,] N)&lt;br /&gt;
&lt;br /&gt;
If the optional word parameter is 1, text is wrapped at whole words (which is the default).&lt;br /&gt;
&lt;br /&gt;
You can specify 0 for N to return the total number of wrapped lines.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
 $wrap(The quick brown fox jumped over the lazy dog., Arial, 12, 100, 0)&lt;br /&gt;
Returns &amp;quot;3&amp;quot; for the total number of lines.&lt;br /&gt;
&lt;br /&gt;
 $wrap(The quick brown fox jumped over the lazy dog., Arial, 12, 100, 3)&lt;br /&gt;
Returns &amp;quot;the lazy dog.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 $wrap(The quick brown fox jumped over the lazy dog., Arial, 12, 100, 0, 2)&lt;br /&gt;
Returns &amp;quot;ox jumped over th&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[$width]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Text and Number Identifiers]]&lt;/div&gt;</summary>
		<author><name>Daveoh</name></author>
	</entry>
</feed>