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

	<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>2003-09-29T19:09:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-09-29T19:09:20-04:00</updated>

		<published>2003-09-29T19:09:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27746#p27746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27746#p27746"/>
		<title type="html"><![CDATA[stripping]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27746#p27746"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set url [string range $text 6 end]</code></pre></div>if it's always in the "<a href="http://www" class="postlink">http://www</a>..... format</div></blockquote><br>Papillon!!!!!<br>Thought you were going away for a year?? =p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon Sep 29, 2003 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-09-29T01:41:10-04:00</updated>

		<published>2003-09-29T01:41:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27699#p27699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27699#p27699"/>
		<title type="html"><![CDATA[stripping]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27699#p27699"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set url [string range $text 6 end]</code></pre></div>if it's always in the "<a href="http://www" class="postlink">http://www</a>..... format<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Mon Sep 29, 2003 1:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sirkrunch]]></name></author>
		<updated>2003-09-28T21:10:12-04:00</updated>

		<published>2003-09-28T21:10:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27697#p27697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27697#p27697"/>
		<title type="html"><![CDATA[stripping]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27697#p27697"><![CDATA[
cheers<br>so this would work?<div class="codebox"><p>Code: </p><pre><code>   set line "[gets $openf]"   regexp {/(.*)} $line g link</code></pre></div>that will read off the openfile and have it like<br>/<a href="http://www.blah" class="postlink">www.blah</a><br>??<br><br>and<div class="codebox"><p>Code: </p><pre><code> set x [string length[$text] if ($x =&gt; 3) {</code></pre></div>is that correct??[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2010">sirkrunch</a> — Sun Sep 28, 2003 9:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-28T19:06:22-04:00</updated>

		<published>2003-09-28T19:06:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27692#p27692</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27692#p27692"/>
		<title type="html"><![CDATA[stripping]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27692#p27692"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set lnk "http://www.website.com"regexp {//(.*)} $lnk g link</code></pre></div><p>Statistics: Posted by Guest — Sun Sep 28, 2003 7:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sirkrunch]]></name></author>
		<updated>2003-09-28T17:22:48-04:00</updated>

		<published>2003-09-28T17:22:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27690#p27690</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27690#p27690"/>
		<title type="html"><![CDATA[stripping]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27690#p27690"><![CDATA[
how do i go about stripping text<br>like i have a tcl that when some1 triggers it returns a result (ofcouse)<br>but  Iwant to take out some of it<br>eg<br>&lt;user&gt;!search website<br>&lt;bot&gt;<a href="http://www.website.com" class="postlink">http://www.website.com</a><br><br>I would like it to be<br>&lt;bot&gt;<a href="http://www.website.com" class="postlink">www.website.com</a><br>removing eveything b4 the 2nd slash<br><br>and how do u use string length?<br><br>set x [string length[$text]<br> if ($x =&gt; 3) {<br><br>?? im new to tcl and not sure how the cmds are setout cheers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2010">sirkrunch</a> — Sun Sep 28, 2003 5:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
