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

	<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>2006-06-20T03:48:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-20T03:48:17-04:00</updated>

		<published>2006-06-20T03:48:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64217#p64217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64217#p64217"/>
		<title type="html"><![CDATA[string help (using a specific part of a string?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64217#p64217"><![CDATA[
advise: there is also a 'string last' <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Tue Jun 20, 2006 3:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaPrOuZy]]></name></author>
		<updated>2006-06-19T16:10:12-04:00</updated>

		<published>2006-06-19T16:10:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64203#p64203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64203#p64203"/>
		<title type="html"><![CDATA[string help (using a specific part of a string?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64203#p64203"><![CDATA[
u could use regexp:<div class="codebox"><p>Code: </p><pre><code>regsub -all -- $sline "Size.*" sline ""</code></pre></div>but be away that in both my solution and deadite66's , if the bla bla contains the word Size it will be removed too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4727">SaPrOuZy</a> — Mon Jun 19, 2006 4:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2006-06-19T10:02:53-04:00</updated>

		<published>2006-06-19T10:02:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64188#p64188</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64188#p64188"/>
		<title type="html"><![CDATA[string help (using a specific part of a string?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64188#p64188"><![CDATA[
this works for me, might be a better way though.<br><div class="codebox"><p>Code: </p><pre><code>set sline "blah blah blah etc. Size"set oline [string range $sline 0 [expr [string first "Size" $sline] - 1]]puts $oline</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Mon Jun 19, 2006 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[br00]]></name></author>
		<updated>2006-06-19T08:14:44-04:00</updated>

		<published>2006-06-19T08:14:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64186#p64186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64186#p64186"/>
		<title type="html"><![CDATA[string help (using a specific part of a string?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64186#p64186"><![CDATA[
what it is, i have a string that always contains the word 'Size', i want to use only that which comes befor that word and forget the rest... have done some searching but to no avail<br><br>ie:<br>blah blah blah etc. Size<br>i want to use just the 'blah blah blah etc' bit (which is different every time)<br><br>so... how to cut the string at 'Size'??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7892">br00</a> — Mon Jun 19, 2006 8:14 am</p><hr />
]]></content>
	</entry>
	</feed>
