Substring in command window

  • Thread starter Thread starter Clarker
  • Start date Start date
C

Clarker

Hi there!

When I use the substring function of the string class in the command
window, I get the error:
"Parameter is incorrect"
The same code works perfectly fine when executed in the code window, so the
code is correct. The error occurs only in some projects, unfortunately in my
10 000 line project which I definitely do not want to move to a new solution
(and maybe the problem is not solved by that anyway) because of deployment
issues.

The problem might be a small one to you, but since I am buliding a string
handling function, the ability to use the substring function in the command
window is crucial to me.

A colleague of mine has had the same problem in another project (separate
from mine).

So now I wonder if any has a cure for this behaviour? (MS KB does not know
anything)

I am using VS.NET 7.0.9466, .NET Framework 1.03705


Best regards

Clarker
 
When I use the substring function of the string class in the command
window, I get the error:
"Parameter is incorrect"

I don't have a solution for you, but have you tried using substring in the
Watch window? Do you get similar problems? Can you show us an example of
how you're calling substring?
 
Back
Top