<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/801" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2002-01-13T20:30:00-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/801</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-13T20:30:00-04:00</updated>

		<published>2002-01-13T20:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3772#p3772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3772#p3772"/>
		<title type="html"><![CDATA[How to split this $arg ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3772#p3772"><![CDATA[
added note<br><br>the split will kill multiple spaces, you can use a more general solution using:<br><div class="codebox"><p>Code: </p><pre><code>set mail "[string range $arg 0 [expr ([string first " " $arg] - 1)]]"set message "[string range $arg [expr ([string first " " $arg] + 1)] end]"</code></pre></div>also fixed the n problem<br><br><br>_________________<br>&lt;sig&gt;<br>This is a Signature virus, please place me in your signature so I can spread<br>&lt;/sig&gt;<br><br>&lt;font size=-1&gt;[ This Message was edited by: Mata Hari on 2002-01-13 17:31 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Sun Jan 13, 2002 8:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2002-01-08T18:05:00-04:00</updated>

		<published>2002-01-08T18:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3609#p3609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3609#p3609"/>
		<title type="html"><![CDATA[How to split this $arg ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3609#p3609"><![CDATA[
Assuming your $arg is a one line string, you could try:<br><div class="codebox"><p>Code: </p><pre><code>scan $arg "%s %[^n]" mail message</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Jan 08, 2002 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-08T18:04:00-04:00</updated>

		<published>2002-01-08T18:04:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3608#p3608</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3608#p3608"/>
		<title type="html"><![CDATA[How to split this $arg ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3608#p3608"><![CDATA[
Thank you :]<br><p>Statistics: Posted by Guest — Tue Jan 08, 2002 6:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-01-08T17:51:00-04:00</updated>

		<published>2002-01-08T17:51:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3607#p3607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3607#p3607"/>
		<title type="html"><![CDATA[How to split this $arg ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3607#p3607"><![CDATA[
<blockquote class="uncited"><div>set mail [lindex [split $arg] 0]<br>set message [join [lrange [split $arg] 1 end]]</div></blockquote>&lt;font size=-1&gt;[ This Message was edited by: Petersen on 2002-01-08 14:52 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Tue Jan 08, 2002 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-08T17:47:00-04:00</updated>

		<published>2002-01-08T17:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3604#p3604</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3604#p3604"/>
		<title type="html"><![CDATA[How to split this $arg ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3604#p3604"><![CDATA[
Hija, <br>How to split this : <br>$arg="<a href="mailto:mail@mail.com">mail@mail.com</a> messagesstext" into $mail="<a href="mailto:mail@mail.com">mail@mail.com</a>" ; $message="everything after email adress"<br>Thanks in advice<br><br>Bye<br><p>Statistics: Posted by Guest — Tue Jan 08, 2002 5:47 pm</p><hr />
]]></content>
	</entry>
	</feed>
