example_11.bmx 288 B

12345678910111213141516171819
  1. '
  2. ' Replace a substring in a string builder
  3. '
  4. SuperStrict
  5. Framework BRL.StringBuilder
  6. Import brl.standardio
  7. Local sb:TStringBuilder = New TStringBuilder
  8. sb.Append("Strings are used to store sequences of characters.")
  9. sb.Replace("to", "XX")
  10. Print sb.ToString()