In article <1139494262.195313.274680@g47g2000cwa.googlegroups. com>,
<mrspinelli@gmail.comwrote:
>I have this following code:
>
>x= tempStr.I((char)13, 0);
>
>The string tempSTR = "
>Heading"
>
>Notice that their is a Carriage Return and/or line feed before the
>stirng value of "heading?" What I was wanting to do with this code is
>for the variable x to equal to location of the first carriage
>return/line feed/new line caracter (ASCII 13 or 10 values). But it
>seems that when I run this the value of x= 9 instead of 1 why is this?
>
>Bascially I am porting a VBA program into a C# program for a word
>automation application I wrote. In VBA this is what I had for this
>function:
Allow me to be the first to say this - and I say it from the deepness of my
heart, with all the kindness and love one has come to associate with the
helpful posts you get in this newsgroup:
Not portable. Can't discuss it here. Blah, blah, blah.