Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > SQL Language
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 21st, 2006, 12:07 AM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Replace In c#

hi all,

i am new to this community.

i am using c# & i want to know what is the alternate keyword for replace.

i am using vb script files as reference & in that one they have used replace keyword & i want to know the alternate keyword in c#.

plz help me.

Reply With Quote
  #2 (permalink)  
Old June 21st, 2006, 12:56 AM
Authorized User
 
Join Date: Jun 2003
Location: , , Norway.
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi.

Maybe you should try posting in a C# forum? This is SQL Language.

Gert

Reply With Quote
  #3 (permalink)  
Old July 3rd, 2006, 03:25 AM
Authorized User
 
Join Date: Nov 2005
Location: , New Delhi, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
In C#, there is two methods...
Using StringBuffer.Replace method and
using String.Repalce.method
==========
Example:::
==========
String str="SubhenduDe";
str.Replace("bhen","asdf");
__________________________

StringBuffer str=new StringBuffer();
str.append("SubhenduDe");
str.Replace("bhen","asdf");

Subhendu De
subhendude@gmail.com
Software Developer
New Delhi, India
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
replace ' and " with \' and \" Brian Campbell XSLT 4 May 24th, 2006 10:49 AM
replace "." with "/" thelos Excel VBA 1 September 14th, 2005 10:47 AM
Replace crmpicco VB How-To 15 May 20th, 2005 01:34 PM
replace() Missy_K Javascript 1 January 16th, 2004 11:17 AM



All times are GMT -4. The time now is 04:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.