StringBuilder

Overview

Location

 

constructor

 

constructor

 

StringBuilder()

 

init()

 

StringBuilder()

constructor (Int32)

 

constructor(aCapacity: Int32)

 

StringBuilder(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

StringBuilder(Int32 aCapacity)

Parameters:

  • aCapacity:

constructor (String)

 

constructor(Data: String)

 

StringBuilder(String Data)

 

init(_ Data: String)

 

StringBuilder(String Data)

Parameters:

  • Data:

Append (Char): StringBuilder

 

method Append(Value: Char): StringBuilder

 

StringBuilder Append(Char Value)

 

func Append(_ Value: Char) -> StringBuilder

 

StringBuilder Append(Char Value)

Parameters:

  • Value:

Append (Char, Int32): StringBuilder

 

method Append(Value: Char; RepeatCount: Int32): StringBuilder

 

StringBuilder Append(Char Value, Int32 RepeatCount)

 

func Append(_ Value: Char, _ RepeatCount: Int32) -> StringBuilder

 

StringBuilder Append(Char Value, Int32 RepeatCount)

Parameters:

  • Value:
  • RepeatCount:

Append (String): StringBuilder

 

method Append(Value: String): StringBuilder

 

StringBuilder Append(String Value)

 

func Append(_ Value: String) -> StringBuilder

 

StringBuilder Append(String Value)

Parameters:

  • Value:

 

method Append(Value: String; StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Append(String Value, Int32 StartIndex, Int32 Count)

 

func Append(_ Value: String, _ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Append(String Value, Int32 StartIndex, Int32 Count)

Parameters:

  • Value:
  • StartIndex:
  • Count:

AppendLine

 

method AppendLine: StringBuilder

 

StringBuilder AppendLine()

 

func AppendLine() -> StringBuilder

 

StringBuilder AppendLine()

AppendLine (String): StringBuilder

 

method AppendLine(Value: String): StringBuilder

 

StringBuilder AppendLine(String Value)

 

func AppendLine(_ Value: String) -> StringBuilder

 

StringBuilder AppendLine(String Value)

Parameters:

  • Value:

Capacity

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

var Capacity: Int32 { get{} set{} }

 

Int32 Capacity { __get; __set; }

Chars

 

property Chars[Index: Int32]: Char read write;

 

Char Chars[Int32 Index] { get; set; }

 

subscript Chars(_ Index: Int32) -> Char { get{} set{} }

 

Char Chars[Int32 Index] { __get; __set; }

Clear

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

EnsureCapacity

 

method EnsureCapacity(aCapacity: Int32): Int32

 

Int32 EnsureCapacity(Int32 aCapacity)

 

func EnsureCapacity(_ aCapacity: Int32) -> Int32

 

Int32 EnsureCapacity(Int32 aCapacity)

Parameters:

  • aCapacity:

Equals (Object): Boolean  override virtual

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

 

method Equals(sb: StringBuilder): Boolean

 

Boolean Equals(StringBuilder sb)

 

func Equals(_ sb: StringBuilder) -> Boolean

 

Boolean Equals(StringBuilder sb)

Parameters:

  • sb:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Insert

 

method Insert(Offset: Int32; Value: String): StringBuilder

 

StringBuilder Insert(Int32 Offset, String Value)

 

func Insert(_ Offset: Int32, _ Value: String) -> StringBuilder

 

StringBuilder Insert(Int32 Offset, String Value)

Parameters:

  • Offset:
  • Value:

Length

 

property Length: Int32 read write;

 

Int32 Length { get; set; }

 

var Length: Int32 { get{} set{} }

 

Int32 Length { __get; __set; }

MaxCapacity

 

const MaxCapacity: Int32 = 2147483647;

 

const Int32 MaxCapacity = 2147483647

 

static let MaxCapacity: Int32 = 2147483647

 

static final Int32 MaxCapacity = 2147483647

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

Remove

 

method Remove(StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Remove(Int32 StartIndex, Int32 Count)

 

func Remove(_ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Remove(Int32 StartIndex, Int32 Count)

Parameters:

  • StartIndex:
  • Count:

Replace (Char, Char): StringBuilder

 

method Replace(OldChar: Char; NewChar: Char): StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar)

 

func Replace(_ OldChar: Char, _ NewChar: Char) -> StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar)

Parameters:

  • OldChar:
  • NewChar:

 

method Replace(OldChar: Char; NewChar: Char; StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar, Int32 StartIndex, Int32 Count)

 

func Replace(_ OldChar: Char, _ NewChar: Char, _ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar, Int32 StartIndex, Int32 Count)

Parameters:

  • OldChar:
  • NewChar:
  • StartIndex:
  • Count:

 

method Replace(OldValue: String; NewValue: String): StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue)

 

func Replace(_ OldValue: String, _ NewValue: String) -> StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue)

Parameters:

  • OldValue:
  • NewValue:

 

method Replace(OldValue: String; NewValue: String; StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue, Int32 StartIndex, Int32 Count)

 

func Replace(_ OldValue: String, _ NewValue: String, _ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue, Int32 StartIndex, Int32 Count)

Parameters:

  • OldValue:
  • NewValue:
  • StartIndex:
  • Count:

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

ToString (Int32, Int32): String

 

method ToString(StartIndex: Int32; Count: Int32): String

 

String ToString(Int32 StartIndex, Int32 Count)

 

func ToString(_ StartIndex: Int32, _ Count: Int32) -> String

 

String ToString(Int32 StartIndex, Int32 Count)

Parameters:

  • StartIndex:
  • Count:

 

MaxCapacity

 

const MaxCapacity: Int32 = 2147483647;

 

const Int32 MaxCapacity = 2147483647

 

static let MaxCapacity: Int32 = 2147483647

 

static final Int32 MaxCapacity = 2147483647

 

Capacity

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

var Capacity: Int32 { get{} set{} }

 

Int32 Capacity { __get; __set; }

Chars

 

property Chars[Index: Int32]: Char read write;

 

Char Chars[Int32 Index] { get; set; }

 

subscript Chars(_ Index: Int32) -> Char { get{} set{} }

 

Char Chars[Int32 Index] { __get; __set; }

Length

 

property Length: Int32 read write;

 

Int32 Length { get; set; }

 

var Length: Int32 { get{} set{} }

 

Int32 Length { __get; __set; }

 

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

 

constructor

 

constructor

 

StringBuilder()

 

init()

 

StringBuilder()

constructor (Int32)

 

constructor(aCapacity: Int32)

 

StringBuilder(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

StringBuilder(Int32 aCapacity)

Parameters:

  • aCapacity:

constructor (String)

 

constructor(Data: String)

 

StringBuilder(String Data)

 

init(_ Data: String)

 

StringBuilder(String Data)

Parameters:

  • Data:

Append (Char): StringBuilder

 

method Append(Value: Char): StringBuilder

 

StringBuilder Append(Char Value)

 

func Append(_ Value: Char) -> StringBuilder

 

StringBuilder Append(Char Value)

Parameters:

  • Value:

Append (Char, Int32): StringBuilder

 

method Append(Value: Char; RepeatCount: Int32): StringBuilder

 

StringBuilder Append(Char Value, Int32 RepeatCount)

 

func Append(_ Value: Char, _ RepeatCount: Int32) -> StringBuilder

 

StringBuilder Append(Char Value, Int32 RepeatCount)

Parameters:

  • Value:
  • RepeatCount:

Append (String): StringBuilder

 

method Append(Value: String): StringBuilder

 

StringBuilder Append(String Value)

 

func Append(_ Value: String) -> StringBuilder

 

StringBuilder Append(String Value)

Parameters:

  • Value:

 

method Append(Value: String; StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Append(String Value, Int32 StartIndex, Int32 Count)

 

func Append(_ Value: String, _ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Append(String Value, Int32 StartIndex, Int32 Count)

Parameters:

  • Value:
  • StartIndex:
  • Count:

AppendLine

 

method AppendLine: StringBuilder

 

StringBuilder AppendLine()

 

func AppendLine() -> StringBuilder

 

StringBuilder AppendLine()

AppendLine (String): StringBuilder

 

method AppendLine(Value: String): StringBuilder

 

StringBuilder AppendLine(String Value)

 

func AppendLine(_ Value: String) -> StringBuilder

 

StringBuilder AppendLine(String Value)

Parameters:

  • Value:

Clear

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

EnsureCapacity

 

method EnsureCapacity(aCapacity: Int32): Int32

 

Int32 EnsureCapacity(Int32 aCapacity)

 

func EnsureCapacity(_ aCapacity: Int32) -> Int32

 

Int32 EnsureCapacity(Int32 aCapacity)

Parameters:

  • aCapacity:

Equals (Object): Boolean  override virtual

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

 

method Equals(sb: StringBuilder): Boolean

 

Boolean Equals(StringBuilder sb)

 

func Equals(_ sb: StringBuilder) -> Boolean

 

Boolean Equals(StringBuilder sb)

Parameters:

  • sb:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Insert

 

method Insert(Offset: Int32; Value: String): StringBuilder

 

StringBuilder Insert(Int32 Offset, String Value)

 

func Insert(_ Offset: Int32, _ Value: String) -> StringBuilder

 

StringBuilder Insert(Int32 Offset, String Value)

Parameters:

  • Offset:
  • Value:

Remove

 

method Remove(StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Remove(Int32 StartIndex, Int32 Count)

 

func Remove(_ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Remove(Int32 StartIndex, Int32 Count)

Parameters:

  • StartIndex:
  • Count:

Replace (Char, Char): StringBuilder

 

method Replace(OldChar: Char; NewChar: Char): StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar)

 

func Replace(_ OldChar: Char, _ NewChar: Char) -> StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar)

Parameters:

  • OldChar:
  • NewChar:

 

method Replace(OldChar: Char; NewChar: Char; StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar, Int32 StartIndex, Int32 Count)

 

func Replace(_ OldChar: Char, _ NewChar: Char, _ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Replace(Char OldChar, Char NewChar, Int32 StartIndex, Int32 Count)

Parameters:

  • OldChar:
  • NewChar:
  • StartIndex:
  • Count:

 

method Replace(OldValue: String; NewValue: String): StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue)

 

func Replace(_ OldValue: String, _ NewValue: String) -> StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue)

Parameters:

  • OldValue:
  • NewValue:

 

method Replace(OldValue: String; NewValue: String; StartIndex: Int32; Count: Int32): StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue, Int32 StartIndex, Int32 Count)

 

func Replace(_ OldValue: String, _ NewValue: String, _ StartIndex: Int32, _ Count: Int32) -> StringBuilder

 

StringBuilder Replace(String OldValue, String NewValue, Int32 StartIndex, Int32 Count)

Parameters:

  • OldValue:
  • NewValue:
  • StartIndex:
  • Count:

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

ToString (Int32, Int32): String

 

method ToString(StartIndex: Int32; Count: Int32): String

 

String ToString(Int32 StartIndex, Int32 Count)

 

func ToString(_ StartIndex: Int32, _ Count: Int32) -> String

 

String ToString(Int32 StartIndex, Int32 Count)

Parameters:

  • StartIndex:
  • Count: