<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Is_empty</id>
		<title>Is empty - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Is_empty"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Is_empty&amp;action=history"/>
		<updated>2026-07-27T11:43:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Is_empty&amp;diff=4084&amp;oldid=prev</id>
		<title>Kowy: New page: __NOTOC__ Category:Customizations Category:r6 Category:r11 Category:r12 Category:Spell Code {{Global Header}} {{Global Announcement}}  == Overview == A spell function c...</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Is_empty&amp;diff=4084&amp;oldid=prev"/>
				<updated>2010-09-24T09:36:43Z</updated>
		
		<summary type="html">&lt;p&gt;New page: __NOTOC__ &lt;a href=&quot;/wiki/index.php?title=Category:Customizations&quot; title=&quot;Category:Customizations&quot;&gt;Category:Customizations&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:R6&quot; title=&quot;Category:R6&quot;&gt;Category:r6&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:R11&quot; title=&quot;Category:R11&quot;&gt;Category:r11&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:R12&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:R12 (page does not exist)&quot;&gt;Category:r12&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:Spell_Code&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Spell Code (page does not exist)&quot;&gt;Category:Spell Code&lt;/a&gt; {{Global Header}} {{Global Announcement}}  == Overview == A spell function c...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
[[Category:Spell Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
A spell function checking if a given attribute is an empty string or equals to a NULL value.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
bool is_empty(attr);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* attr - any string variable to be checked&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
Returns true if attr is NULL or is an empty string, otherwise returns false.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
if(is_empty(string1)) {&lt;br /&gt;
  // Enter an alert message that appears when the if statement is fulfilled&lt;br /&gt;
  zmsg=format(&amp;quot; string1 is required in order to close this ticket&amp;quot;);&lt;br /&gt;
  set_error(1);&lt;br /&gt;
  set_return_data(zmsg);&lt;br /&gt;
  return;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string contact_persid;&lt;br /&gt;
if(!is_empty(contact_persid)) {&lt;br /&gt;
     // ...&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kowy</name></author>	</entry>

	</feed>