1. C

    Android Question How to remove that last character in a StringBuilder variable

    Given global StringBuilder variable sb one can Append new strings as sb.Append("string"). There is a complementary operator sb.Remove(FirstIndex, LastIndex) which can extract a string from the middle of a string. But the Guides say that the character position identified as LastIndex is not...
  2. Mashiane

    B4J Question [SOLVED] StringBuilder Possible Scope Collision?

    Ola I hope my example here makes sense. There seems to be a scope collision between a stringbuilder defined at class_globals and one defined at sub level when the variable name is the same. In the class I have added 2 subs, Join and Join1 to demo this, my global variable name is sb and the...
  3. LWGShane

    Wish [Wish] StringBuilder new method: AppendNewLine

    It would be helpful if the StringBuilder had a method that would add a new line automatically. Current Way: SB.Append("Hello").Append(CRLF).Append("World").Append(CRLF).Append("!") With the AppendNewLine method, the above would be shortened to this...