Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to Mid()
Message
From
12/10/2010 06:14:10
 
 
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:
01484940
Views:
30
>>>>>>>>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(searchFor);
>>>>}
>>>>
>>>:-}
>>>P.S. Where'd the 's' come from ? (g,d&r)
>>
>>
>>What 's' ?
>
>The 's' that was the parameter to IndexOf() when I first looked at your post....


I know - just cheated a bit ;)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform