Skip to main content
Participating Frequently
November 4, 2008
Question

Help with string error

  • November 4, 2008
  • 1 reply
  • 325 views
I'm working on a simple add/edit/delete function and I'm getting this error when I try to add items via a form:

String index out of range: -2

What does that mean?
-MK
This topic has been closed for replies.

1 reply

Inspiring
November 4, 2008
> I'm working on a simple add/edit/delete function and I'm getting this error when I try to add items via a form:
>
> String index out of range: -2

Does it give a line number or does it point you to a specific line of code?

Which version of CF are you using? Older versions of CF (6.0? earlier
releases of 6.1?) used to sometimes spit out a "string index out of range"
error when the source code first compiled, some times.

You're not really giving us much to go on, here.

--
Adam