<?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/9866" />

	<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>2005-06-21T21:07:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-21T21:07:52-04:00</updated>

		<published>2005-06-21T21:07:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51217#p51217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51217#p51217"/>
		<title type="html"><![CDATA[How to strip certain part of a string from a variable.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51217#p51217"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set result [string replace $result [string first , $result] end]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jun 21, 2005 9:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kailion]]></name></author>
		<updated>2005-06-21T20:52:19-04:00</updated>

		<published>2005-06-21T20:52:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51215#p51215</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51215#p51215"/>
		<title type="html"><![CDATA[How to strip certain part of a string from a variable.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51215#p51215"><![CDATA[
Lets say<br><br>$result = "Partial Movement",  "", "Nothing", "Nothing",<br><br>While the "Partial movement" will definitely vary between a 2-5 words value, was wondering how would I get rid of everything after the the very first ,.<br><br>So that $result would be just "Partial Movement". Also i understand that the " may cause eggdrop to have syntax errors so how would I proceed to remove the " after seperating the rest of the string after the first ,.<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6384">kailion</a> — Tue Jun 21, 2005 8:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
