Re: [DOTNET] String.Insert() not working!!

2002-04-17 Thread Wedinger, Keith
Developer Sterling Commerce [EMAIL PROTECTED] -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Nischal Chitta Sent: Wednesday, April 17, 2002 1:49 PM To: [EMAIL PROTECTED] Subject: [DOTNET] String.Insert() not working!! Hi All Here is a very simple

Re: [DOTNET] String.Insert() not working!!

2002-04-17 Thread Keith Wedinger
Developer Sterling Commerce [EMAIL PROTECTED] -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Nischal Chitta Sent: Wednesday, April 17, 2002 1:49 PM To: [EMAIL PROTECTED] Subject: [DOTNET] String.Insert() not working!! Hi All Here is a very simple

Re: [DOTNET] String.Insert() not working!!

2002-04-17 Thread Marina Zlatkina
The Insert method returns a string that results from the insertion and does not modify the original. Thus you would need to do something like: strInsert = strInsert.Insert(6,"Insert This"); You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMento

[DOTNET] String.Insert() not working!!

2002-04-17 Thread Nischal Chitta
Hi All Here is a very simple question. I have a string like the following: string strTest = "This is a test sentence for testing the string insert method"; I have predefined postions say like 6, 25,29 which are the starting positions of is,for,testing. I want to replace these words that start