Jump to content

Problem with Split


shaman

Recommended Posts

Hello. I am having a problem with one of my programs... if a user puts in multiple spaces in a text field, then they get the error:StartIndex cannot be less than zero. Parameter name: startIndexThis was not a problem in classic ASP. Why is it acting this way? The code format is exactly the same:Dim searchString = server.htmlencode(request.querystring("search")searchString = Split(searchString," ")Can someone help me please?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...