<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bredding</id>
		<title>SDU - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bredding"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Special:Contributions/Bredding"/>
		<updated>2026-04-17T15:33:36Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Strlen&amp;diff=3177</id>
		<title>Strlen</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Strlen&amp;diff=3177"/>
				<updated>2008-09-03T06:42:08Z</updated>
		
		<summary type="html">&lt;p&gt;Bredding: New page: int strlen(string str)  returns the length of a string  eg.  string myString;  int i;  myString = &amp;quot;hello&amp;quot;;  i = strlen(myString);  // i = 5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;int strlen(string str)&lt;br /&gt;
&lt;br /&gt;
returns the length of a string&lt;br /&gt;
&lt;br /&gt;
eg.&lt;br /&gt;
&lt;br /&gt;
string myString;&lt;br /&gt;
&lt;br /&gt;
int i;&lt;br /&gt;
&lt;br /&gt;
myString = &amp;quot;hello&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
i = strlen(myString);&lt;br /&gt;
&lt;br /&gt;
// i = 5&lt;/div&gt;</summary>
		<author><name>Bredding</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Substr&amp;diff=3176</id>
		<title>Substr</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Substr&amp;diff=3176"/>
				<updated>2008-09-03T06:38:37Z</updated>
		
		<summary type="html">&lt;p&gt;Bredding: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Overloaded method to return a string within a string&lt;br /&gt;
&lt;br /&gt;
string substr(string str, int start, int finish) &lt;br /&gt;
&lt;br /&gt;
string substr(string str, int start) // reads to the end of the string for finish &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Can be used in conjuction with sindex to retrieve start index.&lt;br /&gt;
&lt;br /&gt;
eg.&lt;br /&gt;
&lt;br /&gt;
string myString;&lt;br /&gt;
&lt;br /&gt;
string otherString;&lt;br /&gt;
&lt;br /&gt;
otherString = &amp;quot;this is a string&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
myString = substr(otherString,sindex(otherString,&amp;quot;a&amp;quot;));&lt;br /&gt;
&lt;br /&gt;
// myString = &amp;quot;a string&amp;quot;&lt;/div&gt;</summary>
		<author><name>Bredding</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Substr&amp;diff=3175</id>
		<title>Substr</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Substr&amp;diff=3175"/>
				<updated>2008-09-03T06:36:42Z</updated>
		
		<summary type="html">&lt;p&gt;Bredding: New page: Overloaded method to return s string within a string  string substr(string str, int start, int finish) string substr(string str, int start) // reads to the end of the string for finish  Ca...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Overloaded method to return s string within a string&lt;br /&gt;
&lt;br /&gt;
string substr(string str, int start, int finish)&lt;br /&gt;
string substr(string str, int start) // reads to the end of the string for finish&lt;br /&gt;
&lt;br /&gt;
Can be used in conjuction with sindex to retrieve start index.&lt;br /&gt;
&lt;br /&gt;
eg.&lt;br /&gt;
&lt;br /&gt;
string myString;&lt;br /&gt;
string otherString;&lt;br /&gt;
&lt;br /&gt;
otherString = &amp;quot;this is a string&amp;quot;;&lt;br /&gt;
myString = substr(otherString,sindex(otherString,&amp;quot;a&amp;quot;));&lt;br /&gt;
// myString = &amp;quot;a string&amp;quot;&lt;/div&gt;</summary>
		<author><name>Bredding</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Format&amp;diff=1337</id>
		<title>Format</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Format&amp;diff=1337"/>
				<updated>2008-02-27T03:35:53Z</updated>
		
		<summary type="html">&lt;p&gt;Bredding: New page: formats a string  string format(string expression, ... variables)  eg.  format(&amp;quot;Change number is %s&amp;quot;, chg_ref_num); format(&amp;quot;Change number is %s and description is %s&amp;quot;, chg_ref_num, descrip...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;formats a string&lt;br /&gt;
&lt;br /&gt;
string format(string expression, ... variables)&lt;br /&gt;
&lt;br /&gt;
eg. &lt;br /&gt;
format(&amp;quot;Change number is %s&amp;quot;, chg_ref_num);&lt;br /&gt;
format(&amp;quot;Change number is %s and description is %s&amp;quot;, chg_ref_num, description);&lt;br /&gt;
&lt;br /&gt;
escape cahracters...&lt;br /&gt;
%% = percent sign&lt;br /&gt;
%d  = int&lt;br /&gt;
%s  = string&lt;/div&gt;</summary>
		<author><name>Bredding</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Workshift_work2abs&amp;diff=1334</id>
		<title>Workshift work2abs</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Workshift_work2abs&amp;diff=1334"/>
				<updated>2008-02-27T03:01:46Z</updated>
		
		<summary type="html">&lt;p&gt;Bredding: New page: USD utilises workshifts and sometimes it is usefull to be able to determine times within a workshift.   date workshift_abs2work(string workshift, date start, int duration)   Returns the da...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;USD utilises workshifts and sometimes it is usefull to be able to determine times within a workshift. &lt;br /&gt;
&lt;br /&gt;
date workshift_abs2work(string workshift, date start, int duration) &lt;br /&gt;
&lt;br /&gt;
Returns the date from the start date plus the duration for the given workshift. Note: workshift is repersented as a string (eg. &amp;quot;Mon - Fri { 7:30 am - 5:30 pm }&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Bredding</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Workshift_abs2work&amp;diff=1332</id>
		<title>Workshift abs2work</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Workshift_abs2work&amp;diff=1332"/>
				<updated>2008-02-27T02:58:07Z</updated>
		
		<summary type="html">&lt;p&gt;Bredding: New page: USD utilises workshifts and sometimes it is usefull to be able to determine times within a workshift.  int workshift_abs2work(string workshift, date start, date finish)  Returns the time i...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;USD utilises workshifts and sometimes it is usefull to be able to determine times within a workshift.&lt;br /&gt;
&lt;br /&gt;
int workshift_abs2work(string workshift, date start, date finish)&lt;br /&gt;
&lt;br /&gt;
Returns the time in seconds from the start date to the finish date for the given workshift.&lt;br /&gt;
Note: workshift is repersented as a string (eg. &amp;quot;Mon - Fri { 7:30 am - 5:30 pm }&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Bredding</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Spel_Reference_Guide&amp;diff=1331</id>
		<title>Spel Reference Guide</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Spel_Reference_Guide&amp;diff=1331"/>
				<updated>2008-02-27T02:52:44Z</updated>
		
		<summary type="html">&lt;p&gt;Bredding: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What Is Spel=&lt;br /&gt;
&lt;br /&gt;
=Reference Sections=&lt;br /&gt;
*Errors&lt;br /&gt;
*[[Functions]]&lt;br /&gt;
*Operators&lt;br /&gt;
**Arithmetic Operators&lt;br /&gt;
**Comparison Operators&lt;br /&gt;
**Concatenation Operators&lt;br /&gt;
**Logical Operators&lt;br /&gt;
*Statements&lt;br /&gt;
**[[For]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div align='center'&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;To make corrections or additions to this article, select the ''edit'' tab above.&amp;lt;br&amp;gt;&lt;br /&gt;
To discuss or ask questions about this article, select the ''discussion'' tab above.&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bredding</name></author>	</entry>

	</feed>