<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>How To Become An Electrician &#187; Lines</title>
	<atom:link href="http://www.howtobecomeanelectrician.com/electricquestions/tag/lines/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howtobecomeanelectrician.com/electricquestions</link>
	<description>Question and Answer Section</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:52:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>types of new lines with regular expressions (sorry, i dont know how to word it &gt;.&lt;)?</title>
		<link>http://www.howtobecomeanelectrician.com/electricquestions/types-of-new-lines-with-regular-expressions-sorry-i-dont-know-how-to-word-it/</link>
		<comments>http://www.howtobecomeanelectrician.com/electricquestions/types-of-new-lines-with-regular-expressions-sorry-i-dont-know-how-to-word-it/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 09:52:33 +0000</pubDate>
		<dc:creator>electric</dc:creator>
				<category><![CDATA[Types Of Electrical Transformers]]></category>
		<category><![CDATA[don't]]></category>
		<category><![CDATA[expressions]]></category>
		<category><![CDATA[Know]]></category>
		<category><![CDATA[Lines]]></category>
		<category><![CDATA[Regular]]></category>
		<category><![CDATA[sorry]]></category>
		<category><![CDATA[types]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://www.howtobecomeanelectrician.com/electricquestions/types-of-new-lines-with-regular-expressions-sorry-i-dont-know-how-to-word-it/</guid>
		<description><![CDATA[Hi, So I have a list of data, and i would like an easy way to deliminate each line. right now it is set up like this: +Part 1 General 1.1 SECTION INCLUDES -1. Door release panel. -2. Transformers. -3. Magnets. -4. Switches. -5. Pushbuttons. -6. Power supplies. -7. Electrical supervision circuits. -8. Wiring. -9. [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, So I have a list of data, and i would like an easy way to deliminate each line. right now it is set up like this:</p>
<p>+Part 1 General<br />
1.1 SECTION INCLUDES<br />
-1. Door release panel.<br />
-2. Transformers.<br />
-3. Magnets.<br />
-4. Switches.<br />
-5. Pushbuttons.<br />
-6. Power supplies.<br />
-7. Electrical supervision circuits.<br />
-8. Wiring.<br />
-9. Card readers.</p>
<p>so as you there are new lines everywhere&#8230;.and each time there is a new line, I would like to be able to say &#8220;this item is different from the rest&#8221;&#8230;so in the end, I get like 1000 string or so (there is about 1000 lines)&#8230;</p>
<p>so ya know, I will build a string character by Character, until i get to the end of the line, that is one string then&#8230;.reapeat.</p>
<p>ie.</p>
<p>do(str = str+currentChar)<br />
until(currentChar = &#8220;\n&#8221;)</p>
<p>&#8230;thats what i thought but it didnt work&#8230;</p>
<p>This data comes from notepad&#8230; (so the whole mess is one BIG string)&#8230;and I am just trying to figure out how to deliminate each new line. and it wont work to deliminate by periods (.) because there are some lines with periods in the middle >.<</p>
<p>any ideas?<br />
thanks, I actually figured it out&#8230;for some reason i needed to use &#8220;\r\n&#8221;&#8230;.not sure why.</p>
<p>doing it in C# it looks like this:</p>
<p>string[] words = Regex.Split(data, &#8220;\r\n&#8221;);</p>
<p>            for (int i = 0; i < words.Length; i++)<br />
            {<br />
                display.AppendText(words[i] + &#8220;\n\n&#8221;);//just a test to see if it works<br />
            }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.howtobecomeanelectrician.com/electricquestions/types-of-new-lines-with-regular-expressions-sorry-i-dont-know-how-to-word-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rescue 911 Power Lines Collapse Part 1</title>
		<link>http://www.howtobecomeanelectrician.com/electricquestions/rescue-911-power-lines-collapse-part-1/</link>
		<comments>http://www.howtobecomeanelectrician.com/electricquestions/rescue-911-power-lines-collapse-part-1/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 23:02:45 +0000</pubDate>
		<dc:creator>electric</dc:creator>
				<category><![CDATA[Getting Shocked Videos]]></category>
		<category><![CDATA[Collapse]]></category>
		<category><![CDATA[Lines]]></category>
		<category><![CDATA[Part]]></category>
		<category><![CDATA[Power]]></category>
		<category><![CDATA[Rescue]]></category>

		<guid isPermaLink="false">http://www.howtobecomeanelectrician.com/electricquestions/rescue-911-power-lines-collapse-part-1/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><span class="youtube"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/m5pQDvT9W80&amp;rel=1&amp;color1=&amp;color2=&amp;border=checked&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/m5pQDvT9W80&amp;rel=1&amp;color1=&amp;color2=&amp;border=checked&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355" ></embed><param name="wmode" value="transparent" /></object></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.howtobecomeanelectrician.com/electricquestions/rescue-911-power-lines-collapse-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

