Click here to Skip to main content
15,917,456 members
Home / Discussions / C#
   

C#

 
GeneralAuto-magicly put files in correct folders Pin
Tridith21-Jun-05 9:35
Tridith21-Jun-05 9:35 
GeneralRe: Auto-magicly put files in correct folders Pin
Luis Alonso Ramos21-Jun-05 16:29
Luis Alonso Ramos21-Jun-05 16:29 
GeneralSystem.Web.Mail for error reporting Pin
Rob Tomson21-Jun-05 9:16
Rob Tomson21-Jun-05 9:16 
GeneralRe: System.Web.Mail for error reporting Pin
g00fyman21-Jun-05 17:46
g00fyman21-Jun-05 17:46 
GeneralRe: System.Web.Mail for error reporting Pin
Rob Tomson22-Jun-05 7:55
Rob Tomson22-Jun-05 7:55 
GeneralHelp me with my ListView Idea! Pin
Kasdoffe21-Jun-05 9:15
Kasdoffe21-Jun-05 9:15 
GeneralArray definition trouble... Pin
rcurrie21-Jun-05 9:05
rcurrie21-Jun-05 9:05 
GeneralRe: Array definition trouble... Pin
rcurrie21-Jun-05 9:09
rcurrie21-Jun-05 9:09 
GeneralRe: Array definition trouble... Pin
Robert Rohde21-Jun-05 11:17
Robert Rohde21-Jun-05 11:17 
GeneralRe: Array definition trouble... Pin
Anonymous22-Jun-05 13:55
Anonymous22-Jun-05 13:55 
Generalsmall problem Pin
snouto21-Jun-05 8:32
snouto21-Jun-05 8:32 
GeneralRe: small problem Pin
S. Senthil Kumar21-Jun-05 8:39
S. Senthil Kumar21-Jun-05 8:39 
GeneralRe: small problem Pin
leppie21-Jun-05 10:21
leppie21-Jun-05 10:21 
GeneralRe: small problem Pin
IamJunk21-Jun-05 19:30
IamJunk21-Jun-05 19:30 
Instead you can rely on more popular regular expressions.

try this...

<br />
//add this to the using section at the top of the class<br />
using System.Text.RegularExpressions;<br />
<br />
string original = "hisnoutoThatismesnoutoYeah";<br />
Regex reg = new Regex("snouto");	//"snouto" or what ever<br />
string[] splitStrings = reg.Split(original);<br />


Using Regular Expressions is comparatively faster that any other operations directly on strings

Hope this helps!!!


Regards,
Sidhu


IF YOU DON'T HAVE ANYTHING TO SAY, WELCOME TO THE CLUB


Dotnet @ Work Where Dotnet works...

My Blog
Generalflow chart generator Pin
bobballi@usa.net21-Jun-05 8:23
bobballi@usa.net21-Jun-05 8:23 
QuestionSocket.Select() Bug? Pin
obelisk2921-Jun-05 7:46
obelisk2921-Jun-05 7:46 
AnswerRe: Socket.Select() Bug? Pin
leppie21-Jun-05 10:45
leppie21-Jun-05 10:45 
GeneralWritting to a ListBox from another class Pin
cmacgowan21-Jun-05 7:45
cmacgowan21-Jun-05 7:45 
GeneralRe: Writting to a ListBox from another class Pin
S. Senthil Kumar21-Jun-05 8:34
S. Senthil Kumar21-Jun-05 8:34 
GeneralRe: Writting to a ListBox from another class Pin
IamJunk21-Jun-05 17:36
IamJunk21-Jun-05 17:36 
GeneralRe: Writting to a ListBox from another class Pin
cmacgowan22-Jun-05 7:17
cmacgowan22-Jun-05 7:17 
Generaltelnetting to a router Pin
reveal21-Jun-05 7:06
reveal21-Jun-05 7:06 
GeneralRe: telnetting to a router Pin
reveal21-Jun-05 7:07
reveal21-Jun-05 7:07 
GeneralRemoting thru firewalls Pin
Judah Gabriel Himango21-Jun-05 6:21
sponsorJudah Gabriel Himango21-Jun-05 6:21 
GeneralRe: Remoting thru firewalls Pin
DeepToot21-Jun-05 14:55
DeepToot21-Jun-05 14:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.