Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternative to Mid()
Message
De
12/10/2010 06:14:10
 
 
À
12/10/2010 05:51:50
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01484803
Message ID:
01484940
Vues:
29
>>>>>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform