 




<?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>IT Answers &#187; Text manipulation</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/text-manipulation/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 22:05:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Remove double qoutes from text file using SED in SQL 2003</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/remove-double-qoutes-from-text-file-using-sed/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/remove-double-qoutes-from-text-file-using-sed/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 21:20:20 +0000</pubDate>
		<dc:creator>swinehart6803</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2003]]></category>
		<category><![CDATA[Text manipulation]]></category>
		<category><![CDATA[Windows XP Professional SP3]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This goes along with my previous question &#8220;How to remove specific lines from a text files using either vbs or bat.&#8221; I am having issues removing the double quotes our app uses in its export as a separator for some fields. The command I use in ssed is ========CODE=================== &#8220;s/&#8221;//g&#8221; =========END OF CODE============ But it [...]]]></description>
				<content:encoded><![CDATA[<p>This goes along with my previous question<br />
&#8220;How to remove specific lines from a text files using either vbs or bat.&#8221;</p>
<p>I am having issues removing the double quotes our app uses in its export as a separator for some fields.<br />
The command I use in ssed is </p>
<p>========CODE===================<br />
&#8220;s/&#8221;//g&#8221; </p>
<p>=========END OF CODE============</p>
<p>But it is returning a error code at the bottom of the echo showing the operation is working with all quotes replaced with nothing saying<br />
&#8220;ssed can&#8217;t read:&gt;   Invalid argument&#8221;</p>
<p>Any ideas?<br />
The qoutes are at the leading edge of all lines as welll as in the lines.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/remove-double-qoutes-from-text-file-using-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove specific lines from a text files using either vbs or bat.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-remove-specific-lines-from-a-text-files-using-either-vbs-or-bat/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-remove-specific-lines-from-a-text-files-using-either-vbs-or-bat/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 17:07:31 +0000</pubDate>
		<dc:creator>swinehart6803</dc:creator>
				<category><![CDATA[Batch file]]></category>
		<category><![CDATA[Batch job]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Text manipulation]]></category>
		<category><![CDATA[VBS]]></category>
		<category><![CDATA[Visual Basic Script]]></category>
		<category><![CDATA[Windows Server 2003 Standard Edition]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a [...]]]></description>
				<content:encoded><![CDATA[<p>We have a text file that is a result of an export from an application we have.<br />
We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a method to remove specific lines for the renamed, blank space removed text file.</p>
<p>Example of the needs:</p>
<p>text file is 30 lines long and we would want to remove line 3,7,18,19 and 28. Not the actual lines or length we would want to remove, just an idea of what we would like accomplish.</p>
<p>These lines are informational and cannot be removed from the export option and are not needed for the SQL import.<br />
When this runs we would use a bat file in dump this cleaned up file into a SQL table.</p>
<p>BAT file begins====================================</p>
<p>@echo off<br />
pushd C:WE_Reportuser<br />
for /D %%j in (*) do move &#8220;%%j&#8221; &#8220;%%~dpjapps&#8221;<br />
popd</p>
<p>move C:WE_Reportuserapps* C:WE_Reportapp_csv</p>
<p>:: removes blank lines from file for import into SQL</p>
<p>For /F &#8220;tokens=* delims=&#8221; %%A in (C:WE_Reportapp_csvuser_app.txt) Do Echo %%A &gt;&gt; C:WE_Reportapp_csvtestuser_app.txt</p>
<p>============NEED specific line removal code here==========</p>
<p>==============EOF===========================</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-remove-specific-lines-from-a-text-files-using-either-vbs-or-bat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Crystal Reports 2008 text export</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/text-export/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/text-export/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 18:24:13 +0000</pubDate>
		<dc:creator>Jack64</dc:creator>
				<category><![CDATA[Crystal Reports]]></category>
		<category><![CDATA[Crystal Reports 2008]]></category>
		<category><![CDATA[Crystal Reports Errors]]></category>
		<category><![CDATA[Subfile Truncation]]></category>
		<category><![CDATA[Text manipulation]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[How can I increase the length of a text record?]]></description>
				<content:encoded><![CDATA[<p>How can I increase the length of a text record?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/text-export/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How can I take part of a field in a .php form</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-take-part-of-a-field-in-a-php-form/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-take-part-of-a-field-in-a-php-form/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 23:59:10 +0000</pubDate>
		<dc:creator>TheFinder</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Text manipulation]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I asked this again, because I realized that I had stated at first that I wanted to manipulate a html file, but it&#8217;s in .php that I want to do this manipulation. Here&#8217;s the question. Is there anyway using .php to take a number on a html form and manipulate it? Example; in a form [...]]]></description>
				<content:encoded><![CDATA[<p>I asked this again, because I realized that I had stated at first that I wanted to manipulate a html file, but it&#8217;s in .php that I want to do this manipulation. Here&#8217;s the question. <br/><br/> Is there anyway using .php to take a number on a html form and manipulate it? Example; in a form someone puts in 123456789 I want to remove the first 3 and move them to the back so it looks like this 456789123 behind the scenes. Can someone assist me in how to manipulate a field in .php? Thank you in advance for any help.<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-take-part-of-a-field-in-a-php-form/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Edit a text file with VBA</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/edit-a-text-file-with-vba/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/edit-a-text-file-with-vba/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 03:18:47 +0000</pubDate>
		<dc:creator>Rjwilcox</dc:creator>
				<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[Text manipulation]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Answer by Michael Tidmarsh]]></description>
				<content:encoded><![CDATA[New Answer by Michael Tidmarsh]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/edit-a-text-file-with-vba/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to output a text file and separate the data into different fields using VB 2005</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-output-a-text-file-and-separate-the-data-into-different-fields-using-vb-2005/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-output-a-text-file-and-separate-the-data-into-different-fields-using-vb-2005/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 09:33:57 +0000</pubDate>
		<dc:creator>Aeiou123</dc:creator>
				<category><![CDATA[Comma-delimited]]></category>
		<category><![CDATA[String manipulation]]></category>
		<category><![CDATA[Text manipulation]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[VB 2005]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Basic 2005]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[i am new at this. This is an example of the data (in notepad) it looks like this.. 1,ABC,12/12/2008 2,DEF,13/12/2008 3,GHI,14/12/2008 4,JKL,15/12/2008 i would like to read only the first line and have each field dim as varchar. The output should be in this form: Field 1 = 1 Field 2 = ABC Field 3 [...]]]></description>
				<content:encoded><![CDATA[<p>i am new at this.</p>
<p>This is an example of the data (in notepad) it looks like this..</p>
<p>1,ABC,12/12/2008<br />
2,DEF,13/12/2008<br />
3,GHI,14/12/2008<br />
4,JKL,15/12/2008</p>
<p>i would like to read only the first line and have each field dim as varchar.</p>
<p>The output should be in this form:</p>
<p>Field 1 = 1<br />
Field 2 = ABC<br />
Field 3 = 12/12/2008</p>
<p>Thanks for your help. It&#8217;s much appreciated..</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-output-a-text-file-and-separate-the-data-into-different-fields-using-vb-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/22 queries in 0.031 seconds using memcached
Object Caching 674/763 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 23:10:52 -->