Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to Mid()
Message
From
12/10/2010 03:56:31
 
 
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:
01484803
Message ID:
01484934
Views:
34
>>>>Check this whole thread Re: Chrtran in .NET Thread #1360482 Message #1360553 - I think it has helpful pointers.
>>>
>>>I can't find anything in there related to Mid().
>>
>>Look for IndexOf of the StringBuilder.
>
>You'll spend an awful long time looking for that :-}

A slow extension method perhaps
public static int IndexOf( this StringBuilder sb, string searchFor)
{
     return sb.ToString().IndexOf(s);
}
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform