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

	<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-04-26T04:43:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-04-26T04:43:43-04:00</updated>

		<published>2006-04-26T04:43:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62355#p62355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62355#p62355"/>
		<title type="html"><![CDATA[Replace $string1 with $string2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62355#p62355"><![CDATA[
depends on length of string and cacheablitlity of the whole script. I'd say string map is about twice as fast. As longer the string and as more seldom it gets called cached (precompiled) as bigger will be the difference.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Apr 26, 2006 4:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soulfly]]></name></author>
		<updated>2006-04-26T03:31:10-04:00</updated>

		<published>2006-04-26T03:31:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62348#p62348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62348#p62348"/>
		<title type="html"><![CDATA[Replace $string1 with $string2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62348#p62348"><![CDATA[
Oh thx, I already solved by problem.<br>I used string map<br>But can u tell me wich is faster?<br><br>I have several options.<br>Once it should replace * and ' ' (space) by a % (for the sql query)<br><br>And other time it sould<br>searchfor '(', ')', '-', '.', '_'<br>replacew '', '', ' ', ' ', ' '<br><br>They are sorted as above + below.<br>Thx in future for any help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7693">soulfly</a> — Wed Apr 26, 2006 3:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-26T01:48:06-04:00</updated>

		<published>2006-04-26T01:48:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62346#p62346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62346#p62346"/>
		<title type="html"><![CDATA[Replace $string1 with $string2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62346#p62346"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>regsub -all {\*} $value {%} value</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Wed Apr 26, 2006 1:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soulfly]]></name></author>
		<updated>2006-04-25T23:59:53-04:00</updated>

		<published>2006-04-25T23:59:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62345#p62345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62345#p62345"/>
		<title type="html"><![CDATA[Replace $string1 with $string2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62345#p62345"><![CDATA[
Hey guy's. I was searching here for the replacement function.<br>But I found nothing, or I was too stupid to mange the Search :X<br><br>My problem is very simple, I think.<br>I want to <strong class="text-strong">replace</strong> <em class="text-italics">*</em> with <em class="text-italics">%</em> in <em class="text-italics">$value</em><br>I tried regsub -all but it didn't worked.<br><br>Thanky you for any help.<br><br>greetz soulfly<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7693">soulfly</a> — Tue Apr 25, 2006 11:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
