Dart String Manipulations: String Buffer

Jeet BhaluJeet Bhalu
1 min read

StringBuffer:

  • A StringBuffer is use to multiple data add in one string to use and StringBuffer is provide multiple sequence characters.
void main()
{
      StringBuffer str =StringBuffer();

      str.write("Hello");

      str.write(",");

      str.write("Jeet");

      print(str);

}

Output:

Hello,Jeet
0
Subscribe to my newsletter

Read articles from Jeet Bhalu directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Jeet Bhalu
Jeet Bhalu

i am Jeet Bhalu i am flutter App developer