Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimized way to transfer from String to StringBuilder
Message
From
04/02/2014 12:59:09
 
 
To
04/02/2014 10:37:46
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01593079
Message ID:
01593156
Views:
31
>>UPDATE : I see you reached the same conclusion re: StringBuilder() :-}
>>
>>I don't think StringBuilder() will help. Regex() may be the way to go. Maybe Gregory, who has that off pat, will chip in - it's not my strong point :-{
>
>Yes, I took a look at Regex. But, this will not be necessary. The reason I had a long string was because the parsing method parses the entire SQL string. In this case, the longest part is the WHERE IN clause, which does not need any conversion. So, what I do is to cut that off from the parsing method and add it back after. So, basically, I am only dealing with the base SQL, which never gave me any problem so far.

Out of curiosity : can you provide an example of the input string ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform