No announcements
Found 226886 threads
-
3 Votes
Vb.net Stringbuilder to replace in large files
In that question you point as original question is the stringbuilder given as solution.Answered | 3 Replies | 1670 Views | Created by nidxlnc - Friday, September 27, 2013 6:18 PM | Last reply by Cor Ligthert - Saturday, September 28, 2013 7:46 AM -
0 Votes
StringBuilder
Like you did, but if it is meant as a SQL Transact string not using a StringBuilder but by using the a command parameter from the provider type like you use.Answered | 5 Replies | 3132 Views | Created by Selvaraj M - Friday, October 8, 2010 12:38 PM | Last reply by Cor Ligthert - Friday, October 8, 2010 3:12 PM -
0 Votes
StringBuilder
You might also mark the information provided by Acamar since it was relevant to the original question about a StringBuilder (even though the eventual solution did not ...Answered | 16 Replies | 618 Views | Created by mipakteh - Friday, May 11, 2018 4:02 AM | Last reply by mipakteh - Sunday, May 13, 2018 12:34 PM -
4 Votes
No IndexOf in StringBuilder class
public class Test { public static void DoTest() { StringBuilder sb = new ...Answered | 6 Replies | 12306 Views | Created by KamaleshP - Wednesday, June 24, 2009 4:02 PM | Last reply by VinilV - Friday, June 26, 2009 4:39 AM -
4 Votes
StringBuilder Class
Given that limitation, it is not possible that a stringbuilder could support int.MaxValue characters, since each character occupies two bytes.Answered | 8 Replies | 2850 Views | Created by heinkasner - Tuesday, February 7, 2012 8:37 AM | Last reply by Matthew Watson - Friday, February 10, 2012 11:07 AM -
1 Votes
Split a StringBuilder
hi Soumya, You cannot do it directly on StringBuilder.Answered | 7 Replies | 40376 Views | Created by SaumyaKW - Sunday, April 10, 2011 6:06 PM | Last reply by Phape - Tuesday, April 12, 2011 6:09 AM -
2 Votes
Escaping StringBuilder with appended variable
But if I put just {0} in a text file it works and replaces with the variable.Answered | 23 Replies | 3309 Views | Created by NoEgo - Tuesday, July 7, 2009 3:05 PM | Last reply by NoEgo - Tuesday, July 7, 2009 4:17 PM -
6 Votes
StringBuilder problem
private void Send_Click(object sender, EventArgs e) { if (serialPort1.IsOpen) { StringBuilder Add = new StringBuilder(); ...Answered | 4 Replies | 920 Views | Created by Mohican1989 - Thursday, April 18, 2013 7:39 PM | Last reply by Fernando Soto - MCSD - Thursday, April 18, 2013 7:57 PM -
0 Votes
StringBuilder error!!
here is my code: private StringBuilder data_changed = new ...Answered | 3 Replies | 1817 Views | Created by Jassim Rahma - Sunday, September 2, 2012 9:24 PM | Last reply by Jassim Rahma - Monday, September 3, 2012 8:07 PM -
2 Votes
Arrays of StringBuilders not possible?
StringBuilder -- Created but not initialized !Answered | 4 Replies | 2934 Views | Created by petrus bitbyter - Monday, April 5, 2010 9:14 PM | Last reply by ELFJOJO - Wednesday, April 7, 2010 7:25 PM -
2 Votes
Stringbuilder Appending
string cdr= @"<a href='Your URL'>Calender</a>"; string fb = @"<a href='Your ...Answered | 2 Replies | 5479 Views | Created by sharepoint_alien - Tuesday, October 26, 2010 8:21 PM | Last reply by sharepoint_alien - Wednesday, October 27, 2010 11:44 AM -
0 Votes
Is there a limit to a stringbuilder?
Is there a limit to how long the stringbuilder is?Answered | 2 Replies | 4567 Views | Created by kabm0404 - Wednesday, December 17, 2008 10:06 PM | Last reply by paladyn - Wednesday, December 17, 2008 11:00 PM -
0 Votes
StringBuilder Versus StreamWriter
Using StringBuilder you can essentially concatenate a string, but not have the problem of a new string being built each time you add to it.Answered | 6 Replies | 15718 Views | Created by Umesh Gowda - Friday, December 17, 2010 4:13 AM | Last reply by Mio_Miao - Thursday, December 23, 2010 10:41 AM -
0 Votes
"no Unicode byte order mark" caused by writing to StringBuilder
I replaced the following line TextWriter tw = new StreamWriter(@"c:\temp\foo1.xml"); with the ...Answered | 2 Replies | 8056 Views | Created by Hong (MA, USA) - Friday, September 3, 2010 12:08 AM | Last reply by Hong (MA, USA) - Friday, September 3, 2010 2:01 AM -
1 Votes
Replace function to replace string array
Hi NET Junkie Have u tried your first way of replacing string method.Answered | 8 Replies | 14961 Views | Created by Himyar AlJabri - Saturday, April 4, 2009 10:44 AM | Last reply by Himyar AlJabri - Monday, April 6, 2009 4:24 AM -
5 Votes
Newbie Question - StringBuilder
This is the sample method I'm working with: public string GetContent(IRibbonControl control) { StringBuilder ...Answered | 10 Replies | 1812 Views | Created by Thomas Houston - Tuesday, January 17, 2012 10:07 PM | Last reply by Louis.fr - Thursday, January 19, 2012 9:40 AM -
0 Votes
Question regarding StringBuilder
You can do itthis way: Let say we have string (you have data in an array): int number = 1; string name = Some ...Answered | 2 Replies | 1820 Views | Created by Zeikko - Friday, July 8, 2011 7:14 AM | Last reply by Mitja Bonca - Friday, July 8, 2011 7:52 AM -
2 Votes
GC and String Concatenation vs StringBuilder
Yes I know it's faster creating very large strings, but I'm creating a lot of smallish strings.. about 1000 char SQL statements, so am wondering whether using the slower (in my scenario) ...Answered | 10 Replies | 5435 Views | Created by Adrian Parker - Tuesday, January 25, 2011 11:03 AM | Last reply by Mohammad Nadeem - Wednesday, January 26, 2011 2:54 PM -
1 Votes
CA2100 warning when using Stringbuilder
But, really, since there's nothing wrong with using a StringBuilder for this, I would simply suppress the message.Answered | 11 Replies | 4132 Views | Created by Markus Zeller - Friday, January 16, 2015 7:13 AM | Last reply by Cor Ligthert - Monday, January 19, 2015 4:47 PM -
1 Votes
Stringbuilder Append
I have seen the following VB 2008 code List As New StringBuilder() ...Answered | 5 Replies | 2504 Views | Created by Barry Flynn - Wednesday, September 14, 2011 9:38 PM | Last reply by Barry Flynn - Thursday, September 15, 2011 1:20 AM - Items 1 to 20 of 226886 Next ›
No announcements