<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Counting characters</title>
		<atom:link href="http://cycling74.com/forums/topic/counting-characters/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/counting-characters/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 15:57:29 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-42644</guid>
					<title><![CDATA[Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-42644</link>
					<pubDate>Tue, 03 Mar 2009 17:54:00 +0000</pubDate>
					<dc:creator>Andrew Spitz</dc:creator>

					<description>
						<![CDATA[
						<p>Hi list,</p>
<p>I&#8217;m trying to count how many characters (including spaces, floats and semicolons) are in [coll]. Is there a way? </p>
<p>I&#8217;m getting close by using [spell] and [capture] and adding an approximation but it is far from ideal. </p>
<p>Any pointers would be greatly appreciated. </p>
<p>Thanks,<br />
Andrew</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152662</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152662</link>
					<pubDate>Tue, 03 Mar 2009 18:59:59 +0000</pubDate>
					<dc:creator>jko</dc:creator>

					<description>
						<![CDATA[
						<p>Using strlen by Jasch you could do:</p>
<p>
<div><span id="toggle152662-0" class="patchtoggle" onmousedown="toggleMaxPatch('post152662-0', 'er152662-0');">&#8211; Pasted Max <span id="maxversion152662-0"></span> Patch, click to <span id="er152662-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A663.3ocyVssbaBCD8Y7WAidl5AIY.QeqeGY53QFTcTJW7.hTmlI%2B6U2vWZDT%0A0INL9g3X1U9vYO6EsutJ.rq8HqGD90vGBCBdcUPf1jxPf84.PM8XQEsWeLPM%0AqumtmAhL9DriBs8xg5CiFaGDULg3kCLCx.P32st9Qainm%2BasCHbcRdBjjY80%0ALTyaj%2BP8KBYMdfJJdj2reaGqPXfCl.WGGEhfwp%2BsQ%2BIjrN9zKgWpoT6tm9BD%0ACNitgWZ3gWvmFZslOfu0woU.ki2VsR8QjmhhD6crtICedi.DEB1Qa1OgRfjw%0AfCQ.NiH.yTwMNVqEIZQ.EOgHfbKBnaqHv9k7k8tBidQWEqYVs4FqInTx4Bio%0Azj7kntX2fPzNcrecAw%2BYTBiIiw2zQIYhn71kd0eYx99wp9n4RzyMFvirMNQm%0AsylsCXhzM9lltmZ1XQEi1sTCGS2nqNLSDvoyMbDsHCGuGtwv1xXEExbhxxbg%0Ag6loh1ppYalN82mQmDjnKcRvy1Ik4Ve1Ls9X8nBtskTA0pKVgQ4XnQyDRj0x%0A3odPetSmT54mrWtHXTVdlVMXknTIuIopI%2BRpaOfIm3DDjaPPQgoaTBfWffcC%0AhDfrMpqm8BjMtAIwDNdxjD2fjEElq2PvKPRcCRtTSHdGNYNAICJ0jbuCGhaP%0AjYmbh51uqPw9UIblZsd5yrxsx5UYM9VpPzwkWEaVz8xJOlbssxSWHZZhGak0%0AE%2BfJdyeuertARY%2B59691gthwd0wUOCO2CUx5E7FpfKWH3hCke0gdjWVxz9G2%0A8olWdnUd2okDl.8cSa7lSxt2P7%2BhS3EkS49HSnkUl7gSKali3AiP36NJgW9x%0A66rVNzmwX.XFdchZTpY%2BNT5om9fr0Kxl8ADP4Cus5Ofe7WYc%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post152662-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode152662-0">----------begin_max5_patcher----------
663.3ocyVssbaBCD8Y7WAidl5AIY.QeqeGY53QFTcTJW7.hTmlI+6U2vWZDT
0INL9g3X1U9vYO6EsutJ.rq8HqGD90vGBCBdcUPf1jxPf84.PM8XQEsWeLPM
qumtmAhL9DriBs8xg5CiFaGDULg3kCLCx.P32st9Qainm+asCHbcRdBjjY80
LTyaj+P8KBYMdfJJdj2reaGqPXfCl.WGGEhfwp+sQ+IjrN9zKgWpoT6tm9BD
CNitgWZ3gWvmFZslOfu0woU.ki2VsR8QjmhhD6crtICedi.DEB1Qa1OgRfjw
fCQ.NiH.yTwMNVqEIZQ.EOgHfbKBnaqHv9k7k8tBidQWEqYVs4FqInTx4Bio
zj7kntX2fPzNcrecAw+YTBiIiw2zQIYhn71kd0eYx99wp9n4RzyMFvirMNQm
sylsCXhzM9lltmZ1XQEi1sTCGS2nqNLSDvoyMbDsHCGuGtwv1xXEExbhxxbg
g6loh1ppYalN82mQmDjnKcRvy1Ik4Ve1Ls9X8nBtskTA0pKVgQ4XnQyDRj0x
3odPetSmT54mrWtHXTVdlVMXknTIuIopI+RpaOfIm3DDjaPPQgoaTBfWffcC
hDfrMpqm8BjMtAIwDNdxjD2fjEElq2PvKPRcCRtTSHdGNYNAICJ0jbuCGhaP
jYmbh51uqPw9UIblZsd5yrxsx5UYM9VpPzwkWEaVz8xJOlbssxSWHZZhGak0
E+fJdyeuertARY+59691gthwd0wUOCO2CUx5E7FpfKWH3hCke0gdjWVxz9G2
8olWdnUd2okDl.8cSa7lSxt2P7+hS3EkS49HSnkUl7gSKali3AiP36NJgW9x
66rVNzmwX.XFdchZTpY+NT5om9fr0Kxl8ADP4Cus5Ofe7WYc
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p><p>Best, Joerg</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152663</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152663</link>
					<pubDate>Tue, 03 Mar 2009 19:51:51 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1">
<tr>
<td class="SmallText"><b>Andrew S wrote on Tue, 03 March 2009 18:54</b></td>
</tr>
<tr>
<td class="quote">
Any pointers would be greatly appreciated. </td></tr></table></p>



<p>That is probably silly but I would go for saving the coll file, and look at the size of the file.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152664</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152664</link>
					<pubDate>Tue, 03 Mar 2009 20:06:40 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>I was thinking exactly the same as Emmanuel, but just in case you don&#8217;t want to have to store your [coll] contents you could try the method on the right side of this patch.</p>
<p>lh</p>
<p><div><span id="toggle152664-0" class="patchtoggle" onmousedown="toggleMaxPatch('post152664-0', 'er152664-0');">&#8211; Pasted Max <span id="maxversion152664-0"></span> Patch, click to <span id="er152664-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A1318.3oc6ZsrbaaCEcs7WAFlkUVl3EejtpyjEYS5p1UMY7.QgHwDRBOjPw1I%0AS92KdPZK4XIBZQA5YZWHJBPPfy8fKtO.3OtXVvRwc7l.vaA%2BCX1rebwrYlpz%0AULqs7rfR1cYErFSyBp32JV9kf41GI42IMUWK1J4fl6KWJJ5d3MLY1l7p0WWy%0Ayj1wfPSVDNG.Qw5%2BhS0WQgKBAep8c9rnRVwJ4lN8OpyYOzaUaKyqJ3RCLfOV%0AoZf6pEsSmzj%2BcSm.QpwvVc9JSupf%2BkPZZW%2BZee482vsPLHXt5G3S5m9yKtPe%0AY9owMeu.7EQd0wnELwPKTMXUkdozB5joEn%2BnEGUYvwjWIpL3yA2rsbIuteUC%0AbnQvogSl3iiOn3mWI0LvRV05QUC425mWPIF0BXZ5B5XtlAN.hI8nDyXRHRvp%0Ask2.J3Uqka.K6mdrFTRwiqVC1cxgbXCJZQQq1XklSSAZ4VoTT4xxnNl3I7gC%0ARM74DOzAEuQe0fDjUvY0.KucPIkRf6ZuLdxLXPNr8RifnmwMxxYvoBW5f21T%0AqI0IjgH9yaq4l94Dq9BIZ5LXPOJmXVUMe7srlI1VIcwQLJhp%2BK4E6Hl9rLDY%0A.LTTeNh69M1jjJP1bEIAfNPS1fXIoSVnrjX%2Bs3hIE4NvIH3os3BepgpPRNHm%0ATj2LtJKqqYGM.kXCYXCtGSmNavdLQvLQQAnQTxMBV%2BFiCsQuAGWxY.lZngGm%0Abl%2B.I01rF125Zva9S8izhr9%2BGkZPvu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wOOKpJ7yK9W.DdyvfB%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post152664-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode152664-0">----------begin_max5_patcher----------
1318.3oc6ZsrbaaCEcs7WAFlkUVl3EejtpyjEYS5p1UMY7.QgHwDRBOjPw1I
S92KdPZK4XIBZQA5YZWHJBPPfy8fKtO.3OtXVvRwc7l.vaA+CX1rebwrYlpz
ULqs7rfR1cYErFSyBp32JV9kf41GI42IMUWK1J4fl6KWJJ5d3MLY1l7p0WWy
yj1wfPSVDNG.Qw5+hS0WQgKBAep8c9rnRVwJ4lN8OpyYOzaUaKyqJ3RCLfOV
oZf6pEsSmzj+cSm.QpwvVc9JSupf+kPZZW+Zee482vsPLHXt5G3S5m9yKtPe
Y9owMeu.7EQd0wnELwPKTMXUkdozB5joEn+nEGUYvwjWIpL3yA2rsbIuteUC
bnQvogSl3iiOn3mWI0LvRV05QUC425mWPIF0BXZ5B5XtlAN.hI8nDyXRHRvp
sk2.J3Uqka.K6mdrFTRwiqVC1cxgbXCJZQQq1XklSSAZ4VoTT4xxnNl3I7gC
RM74DOzAEuQe0fDjUvY0.KucPIkRf6ZuLdxLXPNr8RifnmwMxxYvoBW5f21T
qI0IjgH9yaq4l94Dq9BIZ5LXPOJmXVUMe7srlI1VIcwQLJhp+K4E6Hl9rLDY
.LTTeNh69M1jjJP1bEIAfNPS1fXIoSVnrjX+s3hIE4NvIH3os3BepgpPRNHm
Tj2LtJKqqYGM.kXCYXCtGSmNavdLQvLQQAnQTxMBV+FiCsQuAGWxY.lZngGm
bl+.I01rF125Zva9S8izhr9+GkZPvuqu7l+Re8yEr0MpafyAg68DUEAaD2te
yQpaJYU2uesX8vrgUyxT1lzcV.q1LNxM75mLfDSOq5G7BBMZN3xX0ujEo60H
UhDAhJN31MhhGSPcOfng2x7VOQq32s+igjvTLN11l075CzrfFovBvaE0qLHu
RTcoZ1hWmm06Kw+FupTce2KCihMsbuIiUWqlHUJVWyjx5bUXx1c6Y1CJtyB3
pLPMy4PSEFU8wMekkfilfeqxtwiZzjkpBNr2LU5B93LkpeqWBqwvoKSeD16I
52ezWsbCDaysANcQe8ZN3qtDafSbrW3WMgd0xHQoSbjWH+E3kKo.2RKj3INC
3yw1MWxaZXq4+JuvYq.eL3CrL0RSQyFv6e2au5uaTwLbUw1ux2vJJt5c7luJ
E2bkNrkLE74JIXg7N4GC5kLsYDhaY1D+uQjGNsPetQBsxOhNs6i.47tKBGRG
61ZkM5ynRFFZUxnSkRF1OJYtloT6tbCm37j9+rj9OcVRl9R4Hu5oGktQiUW+
9q.ZDaqy5z.dHQa.9ALsh2HyqXxbQ0tsRui5fG0t2juZE2zfNcxx7U2HTFdZ
gAER0mJFDYWknRonqzAVqNL7B6Cu5CYeH3cTPUXunZfrHgf2gEwI3QiE0GNl
C3MzurndGwbXtcfnhjFo4M6YtzRo5BmHZwtvfdk+HtfH+BInS5YH+hIjKXB6
WL4j1DwyKGc.SH+xSQN.IresZgcwzOw+PBMtPJI157o66DqqvX.UnKJ9H2wZ
DcGrlRFKrZN+SGrb34XOzGslC1Nh8LpbxazSv94GUNY6m3Ymjlwq+EA9VuJ1
ItJZB3JjSnBOj7ULl2retZQ1M4euBnHqgujzEHZawS1mepSlShmffvcyHGb.
AgmXRALMxxolDZzENYzhcZoCcXbXTXhwog8aDnKMrXxHg2vwFucIXeFvK0I7
54HSovyAKdxnxIcQJ7ksI.jcye0TZTva3Xi2tso3Lf2TmwKziy5oNOqO.TQQ
w6xhQwOOKpJ7yK9W.DdyvfB
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152665</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152665</link>
					<pubDate>Tue, 03 Mar 2009 20:33:15 +0000</pubDate>
					<dc:creator>Andrew Spitz</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the replies.</p>
<p>Joerg, that is exactly what I was looking for.</p>
<p>Lh, your &#8216;copy compress&#8217; isn&#8217;t reading for some reason&#8230; do you mind trying again? </p>
<p>I needed this process to happen &#8220;automatically&#8221; with no user input, which is why [strlen] works better for me then reading the file size. </p>
<p>Thanks again!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152666</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152666</link>
					<pubDate>Tue, 03 Mar 2009 20:42:50 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>How odd, I&#8217;ll attach the file here as well then.</p>
<p>lh</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152667</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152667</link>
					<pubDate>Tue, 03 Mar 2009 22:39:37 +0000</pubDate>
					<dc:creator>Andrew Spitz</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for sending the file. It seems to be adding a few characters. I&#8217;m not sure why, or if it&#8217;s something I&#8217;m doing wrong but I&#8217;m OK using [strlen] for now, thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152668</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152668</link>
					<pubDate>Tue, 03 Mar 2009 22:44:06 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>It should count every character including punctuation, spaces and include the indices, the only thing it won&#8217;t count is newline characters, but if [strlen] is working for you then no worries!</p>
<p>lh</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152669</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152669</link>
					<pubDate>Tue, 03 Mar 2009 23:33:50 +0000</pubDate>
					<dc:creator>Andrew Spitz</dc:creator>

					<description>
						<![CDATA[
						<p>I have no idea, when I load some other files, it works. My lines in the coll look something like this:<br />
f, 261 1 2 0.81 1.;</p>
<p>Could the letters at the beginning be the cause of it? When I have some more time, I&#8217;ll try figure out what I&#8217;m doing wrong. I&#8217;m pretty sure it&#8217;s on my side though, as I&#8217;m not used to working with [coll]</p>
<p>Thanks for all your help.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152670</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152670</link>
					<pubDate>Tue, 03 Mar 2009 23:47:41 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>Ah it seems that it adds trailing zeros on to the floating point numbers and then counts all those zeros, oops!</p>
<p>lh</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/counting-characters/#post-152671</guid>
					<title><![CDATA[Re: Counting characters]]></title>
					<link>http://cycling74.com/forums/topic/counting-characters/#post-152671</link>
					<pubDate>Wed, 04 Mar 2009 00:00:17 +0000</pubDate>
					<dc:creator>Andrew Spitz</dc:creator>

					<description>
						<![CDATA[
						<p>That makes sense. Glad it&#8217;s demystified!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

