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

	<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>2002-01-06T21:57:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-01-06T21:57:00-04:00</updated>

		<published>2002-01-06T21:57:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3551#p3551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3551#p3551"/>
		<title type="html"><![CDATA[percentage ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3551#p3551"><![CDATA[
The following code will tell you the percentage of caps<br><div class="codebox"><p>Code: </p><pre><code>proc PercentageCaps {string} {  set i [string length $string]  regsub -all -- {[A-Z]} $string string  return [expr ([string length $string] - ${i}) / $i]}</code></pre></div>Note: It returns it as a floating point value. Just multiply it by 100 to get the percentage<br><br>When you pass it the text from a channel message, it will return the percentage of Caps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Jan 06, 2002 9:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-06T16:19:00-04:00</updated>

		<published>2002-01-06T16:19:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3541#p3541</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3541#p3541"/>
		<title type="html"><![CDATA[percentage ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3541#p3541"><![CDATA[
Hi i would like to know how to make percentage ? exemple a percentage of CAPS in a line.<br>i mean when someone type something in a channel how to know percentage of CAPS, or percentage of whatever you want <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>excuse my english :-/<p>Statistics: Posted by Guest — Sun Jan 06, 2002 4:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
