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

	<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-09-01T12:18:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[wiz(andrew)]]></name></author>
		<updated>2006-09-01T12:18:58-04:00</updated>

		<published>2006-09-01T12:18:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66043#p66043</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66043#p66043"/>
		<title type="html"><![CDATA[string editing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66043#p66043"><![CDATA[
Thx for the help!!!<br>(i dont belive i missed the string section in)<br><br><br><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M40" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M40</a>  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br>thx again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8158">wiz(andrew)</a> — Fri Sep 01, 2006 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-09-01T10:28:09-04:00</updated>

		<published>2006-09-01T10:28:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66040#p66040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66040#p66040"/>
		<title type="html"><![CDATA[string editing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66040#p66040"><![CDATA[
Try:<br><div class="codebox"><p>Code: </p><pre><code>proc mid {text s {n ""}} {  if {[info exists n]} {     return "[string range $text [expr $s - 1] [expr $n - 1]]"  } else {     return "[string length [string range $text [expr $s - 1] end]]"  }}</code></pre></div>Not tested.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Fri Sep 01, 2006 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-09-01T08:11:42-04:00</updated>

		<published>2006-09-01T08:11:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66039#p66039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66039#p66039"/>
		<title type="html"><![CDATA[string editing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66039#p66039"><![CDATA[
<a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M40" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M40</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Fri Sep 01, 2006 8:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wiz(andrew)]]></name></author>
		<updated>2006-09-01T08:04:13-04:00</updated>

		<published>2006-09-01T08:04:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66038#p66038</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66038#p66038"/>
		<title type="html"><![CDATA[string editing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66038#p66038"><![CDATA[
hello<br>i need few proc/command that match mirc's commands $mid<br><div class="codebox"><p>Code: </p><pre><code>  $mid(text,S,N)   Returns N characters starting at position S in text.     $mid(othello,3,4)  returns hell     If N is zero, it returns the number of characters from S to the end of the line.     You may also use negative numbers for S or N. </code></pre></div>what i am trying to is to take out lets say the secound char from a string etc..<br><br>string "abc 123 qwe"<br>then to take the 2chr "b" or the 5 till the 8 "123 "<br><br>Thx For the help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8158">wiz(andrew)</a> — Fri Sep 01, 2006 8:04 am</p><hr />
]]></content>
	</entry>
	</feed>
