Welcome! Log In Create A New Profile

Advanced

Does Stringbuild perform the same function as StringBuilder does in .NET?

Posted by HairyHaggis.pcs.crosspost 
Hello all,

I am performing string manipulations many times per second, and want this to be as fast as possible. I am currently using the following syntax:

Str = Str + newStr

I know that in .NET a much better way of doing this would be to use the StringBuilder() command, and wondered if the StringBuild function of WinDev offered the same performance gain.

Many thanks.

Message forwarded from pcsoft.us.windev
HH

Str += newStr can be used in place of Str = Str + newStr to concatinate 2 strings.

StringBuild works fine for inserting single or mutiple values into a string based on variables.

Is it as fast/faster than StringBuilder() ? - only way to find out is to test it.

Regards

DerekT
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: