unit Chilkat.StringBuilder;

{
  Pascal wrapper for Chilkat StringBuilder.
  Auto-generated by PascalWrapperGenerator -- do not edit manually.
}

{$IFDEF FPC}
  {$MODE DELPHI}
{$ENDIF}

interface

uses
  SysUtils,
  Chilkat.Base;

type

  { TStringBuilder wraps CkStringBuilder via the C bridge layer. }
  TStringBuilder = class(TChilkatBase)
  private
    function  GetLastErrorHtml: string;
    function  GetLastErrorText: string;
    function  GetLastErrorXml: string;
    function  GetVersion: string;
    function  GetDebugLogFilePath: string;
    procedure SetDebugLogFilePath(AValue: string);
    function  GetVerboseLogging: Boolean;
    procedure SetVerboseLogging(AValue: Boolean);
    function  GetLastMethodSuccess: Boolean;
    procedure SetLastMethodSuccess(AValue: Boolean);
    function  GetLength: Integer;
    function  GetIntValue: Integer;
    procedure SetIntValue(AValue: Integer);
    function  GetIsBase64: Boolean;
    function  GetHasEmojis: Boolean;
  public
    constructor Create;
    destructor  Destroy; override;

    property LastErrorHtml: string read GetLastErrorHtml;
    property LastErrorText: string read GetLastErrorText;
    property LastErrorXml: string read GetLastErrorXml;
    property Version: string read GetVersion;
    property DebugLogFilePath: string read GetDebugLogFilePath write SetDebugLogFilePath;
    property VerboseLogging: Boolean read GetVerboseLogging write SetVerboseLogging;
    property LastMethodSuccess: Boolean read GetLastMethodSuccess write SetLastMethodSuccess;
    property Length: Integer read GetLength;
    property IntValue: Integer read GetIntValue write SetIntValue;
    property IsBase64: Boolean read GetIsBase64;
    property HasEmojis: Boolean read GetHasEmojis;

    function  Append(const value: string): Boolean;
    function  AppendInt(value: Integer): Boolean;
    function  AppendInt64(value: Int64): Boolean;
    procedure Clear;
    function  Replace(const value: string; const replacement: string): Integer;
    function  GetAsString: string;
    function  ContentsEqual(const str: string; caseSensitive: Boolean): Boolean;
    function  Contains(const str: string; caseSensitive: Boolean): Boolean;
    function  IsWellFormed(const format: string): Boolean;
    function  Prepend(const value: string): Boolean;
    function  SetString(const value: string): Boolean;
    function  Encode(const encoding: string; const charset: string): Boolean;
    function  GetEncoded(const encoding: string; const charset: string): string;
    function  Decode(const encoding: string; const charset: string): Boolean;
    function  Trim: Boolean;
    function  TrimInsideSpaces: Boolean;
    function  StartsWith(const substr: string; caseSensitive: Boolean): Boolean;
    function  EndsWith(const substr: string; caseSensitive: Boolean): Boolean;
    function  ToLowercase: Boolean;
    function  ToUppercase: Boolean;
    function  ToCRLF: Boolean;
    function  ToLF: Boolean;
    function  EntityDecode: Boolean;
    function  ReplaceWord(const value: string; const replacement: string): Integer;
    function  ReplaceBetween(const beginMark: string; const endMark: string; const value: string; const replacement: string): Integer;
    function  GetBetween(const beginMark: string; const endMark: string): string;
    function  GetAfterBetween(const searchAfter: string; const beginMark: string; const endMark: string): string;
    function  GetNth(index: Integer; const delimiterChar: string; exceptDoubleQuoted: Boolean; exceptEscaped: Boolean): string;
    function  SetNth(index: Integer; const value: string; const delimiterChar: string; exceptDoubleQuoted: Boolean; exceptEscaped: Boolean): Boolean;
    function  LoadFile(const path: string; const charset: string): Boolean;
    function  WriteFile(const path: string; const charset: string; emitBom: Boolean): Boolean;
    function  AppendSb(sb: TChilkatBase): Boolean;
    function  ContentsEqualSb(sb: TChilkatBase; caseSensitive: Boolean): Boolean;
    function  LastNLines(numLines: Integer; bCrlf: Boolean): string;
    function  AppendBd(binData: TChilkatBase; const charset: string; offset: Integer; numBytes: Integer): Boolean;
    function  ReplaceAllBetween(const beginMark: string; const endMark: string; const replacement: string; replaceMarks: Boolean): Boolean;
    function  AppendLine(const str: string; crlf: Boolean): Boolean;
    procedure SecureClear;
    function  ReplaceI(const value: string; replacement: Integer): Integer;
    function  ContainsWord(const word: string; caseSensitive: Boolean): Boolean;
    function  PunyEncode: Boolean;
    function  PunyDecode: Boolean;
    function  ReplaceAfterFinal(const marker: string; const replacement: string): Boolean;
    function  WriteFileIfModified(const path: string; const charset: string; emitBom: Boolean): Boolean;
    function  GetBefore(const marker: string; removeFlag: Boolean): string;
    function  RemoveBefore(const marker: string): Boolean;
    function  ReplaceFirst(const value: string; const replacement: string): Boolean;
    function  GetAfterFinal(const marker: string; removeFlag: Boolean): string;
    function  RemoveAfterFinal(const marker: string): Boolean;
    procedure Obfuscate;
    procedure Unobfuscate;
    function  ReplaceNoCase(const value: string; const replacement: string): Integer;
    function  DecodeAndAppend(const value: string; const encoding: string; const charset: string): Boolean;
    function  Shorten(numChars: Integer): Boolean;
    function  RemoveCharsAt(startIndex: Integer; numChars: Integer): Boolean;
    function  GetRange(startIndex: Integer; numChars: Integer; removeFlag: Boolean): string;
    function  GetHash(const algorithm: string; const encoding: string; const charset: string): string;
    function  RemoveAccents: Boolean;
    function  AppendUuid(lowerCase: Boolean): Boolean;
    function  AppendRandom(numBytes: Integer; const encoding: string): Boolean;
    function  AppendUuid7(lowerCase: Boolean): Boolean;
    procedure RemoveEmojis;
    function  RegexMatch(const pattern: string; json: TChilkatBase; timeoutMs: Integer): Integer;
    function  RegexReplace(json: TChilkatBase): Boolean;
    function  MaskQuotedStrings(const maskChar: string; quoteType: Integer; maskedStrings: TChilkatBase): Boolean;
    function  RestoreMaskedStrings(quoteType: Integer; maskedStrings: TChilkatBase): Boolean;
    function  MarkdownToHtml(options: TChilkatBase; sbHtml: TChilkatBase): Boolean;
    function  GetRangeSb(startIndex: Integer; numChars: Integer; removeFlag: Boolean; sb: TChilkatBase): Boolean;
    function  AppendLn(const str: string): Boolean;
  end;

implementation

uses
  CkDllLoader,
  Chilkat.Utils;

{ ---- C bridge function pointer types ---- }
type
  TCkStringBuilder_Create  = function(): Pointer; cdecl;
  TCkStringBuilder_Dispose = procedure(handle: Pointer); cdecl;
  TCkStringBuilder_get_LastErrorHtml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkStringBuilder_get_LastErrorText = function(handle: Pointer): PAnsiChar; cdecl;
  TCkStringBuilder_get_LastErrorXml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkStringBuilder_get_Version = function(handle: Pointer): PAnsiChar; cdecl;
  TCkStringBuilder_get_DebugLogFilePath = function(handle: Pointer): PAnsiChar; cdecl;
  TCkStringBuilder_put_DebugLogFilePath = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkStringBuilder_get_VerboseLogging = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_put_VerboseLogging = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkStringBuilder_get_LastMethodSuccess = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_put_LastMethodSuccess = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkStringBuilder_get_Length = function(handle: Pointer): Integer; cdecl;
  TCkStringBuilder_get_IntValue = function(handle: Pointer): Integer; cdecl;
  TCkStringBuilder_put_IntValue = procedure(handle: Pointer; value: Integer); cdecl;
  TCkStringBuilder_get_IsBase64 = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_get_HasEmojis = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_Append = function(handle: Pointer; value: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_AppendInt = function(handle: Pointer; value: Integer): LongBool; cdecl;
  TCkStringBuilder_AppendInt64 = function(handle: Pointer; value: Int64): LongBool; cdecl;
  TCkStringBuilder_Clear = procedure(handle: Pointer); cdecl;
  TCkStringBuilder_Replace = function(handle: Pointer; value: PAnsiChar; replacement: PAnsiChar): Integer; cdecl;
  TCkStringBuilder_GetAsString = function(handle: Pointer): PAnsiChar; cdecl;
  TCkStringBuilder_ContentsEqual = function(handle: Pointer; str: PAnsiChar; caseSensitive: LongBool): LongBool; cdecl;
  TCkStringBuilder_Contains = function(handle: Pointer; str: PAnsiChar; caseSensitive: LongBool): LongBool; cdecl;
  TCkStringBuilder_IsWellFormed = function(handle: Pointer; format: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_Prepend = function(handle: Pointer; value: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_SetString = function(handle: Pointer; value: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_Encode = function(handle: Pointer; encoding: PAnsiChar; charset: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_GetEncoded = function(handle: Pointer; encoding: PAnsiChar; charset: PAnsiChar): PAnsiChar; cdecl;
  TCkStringBuilder_Decode = function(handle: Pointer; encoding: PAnsiChar; charset: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_Trim = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_TrimInsideSpaces = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_StartsWith = function(handle: Pointer; substr: PAnsiChar; caseSensitive: LongBool): LongBool; cdecl;
  TCkStringBuilder_EndsWith = function(handle: Pointer; substr: PAnsiChar; caseSensitive: LongBool): LongBool; cdecl;
  TCkStringBuilder_ToLowercase = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_ToUppercase = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_ToCRLF = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_ToLF = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_EntityDecode = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_ReplaceWord = function(handle: Pointer; value: PAnsiChar; replacement: PAnsiChar): Integer; cdecl;
  TCkStringBuilder_ReplaceBetween = function(handle: Pointer; beginMark: PAnsiChar; endMark: PAnsiChar; value: PAnsiChar; replacement: PAnsiChar): Integer; cdecl;
  TCkStringBuilder_GetBetween = function(handle: Pointer; beginMark: PAnsiChar; endMark: PAnsiChar): PAnsiChar; cdecl;
  TCkStringBuilder_GetAfterBetween = function(handle: Pointer; searchAfter: PAnsiChar; beginMark: PAnsiChar; endMark: PAnsiChar): PAnsiChar; cdecl;
  TCkStringBuilder_GetNth = function(handle: Pointer; index: Integer; delimiterChar: PAnsiChar; exceptDoubleQuoted: LongBool; exceptEscaped: LongBool): PAnsiChar; cdecl;
  TCkStringBuilder_SetNth = function(handle: Pointer; index: Integer; value: PAnsiChar; delimiterChar: PAnsiChar; exceptDoubleQuoted: LongBool; exceptEscaped: LongBool): LongBool; cdecl;
  TCkStringBuilder_LoadFile = function(handle: Pointer; path: PAnsiChar; charset: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_WriteFile = function(handle: Pointer; path: PAnsiChar; charset: PAnsiChar; emitBom: LongBool): LongBool; cdecl;
  TCkStringBuilder_AppendSb = function(handle: Pointer; sb: Pointer): LongBool; cdecl;
  TCkStringBuilder_ContentsEqualSb = function(handle: Pointer; sb: Pointer; caseSensitive: LongBool): LongBool; cdecl;
  TCkStringBuilder_LastNLines = function(handle: Pointer; numLines: Integer; bCrlf: LongBool): PAnsiChar; cdecl;
  TCkStringBuilder_AppendBd = function(handle: Pointer; binData: Pointer; charset: PAnsiChar; offset: Integer; numBytes: Integer): LongBool; cdecl;
  TCkStringBuilder_ReplaceAllBetween = function(handle: Pointer; beginMark: PAnsiChar; endMark: PAnsiChar; replacement: PAnsiChar; replaceMarks: LongBool): LongBool; cdecl;
  TCkStringBuilder_AppendLine = function(handle: Pointer; str: PAnsiChar; crlf: LongBool): LongBool; cdecl;
  TCkStringBuilder_SecureClear = procedure(handle: Pointer); cdecl;
  TCkStringBuilder_ReplaceI = function(handle: Pointer; value: PAnsiChar; replacement: Integer): Integer; cdecl;
  TCkStringBuilder_ContainsWord = function(handle: Pointer; word: PAnsiChar; caseSensitive: LongBool): LongBool; cdecl;
  TCkStringBuilder_PunyEncode = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_PunyDecode = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_ReplaceAfterFinal = function(handle: Pointer; marker: PAnsiChar; replacement: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_WriteFileIfModified = function(handle: Pointer; path: PAnsiChar; charset: PAnsiChar; emitBom: LongBool): LongBool; cdecl;
  TCkStringBuilder_GetBefore = function(handle: Pointer; marker: PAnsiChar; removeFlag: LongBool): PAnsiChar; cdecl;
  TCkStringBuilder_RemoveBefore = function(handle: Pointer; marker: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_ReplaceFirst = function(handle: Pointer; value: PAnsiChar; replacement: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_GetAfterFinal = function(handle: Pointer; marker: PAnsiChar; removeFlag: LongBool): PAnsiChar; cdecl;
  TCkStringBuilder_RemoveAfterFinal = function(handle: Pointer; marker: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_Obfuscate = procedure(handle: Pointer); cdecl;
  TCkStringBuilder_Unobfuscate = procedure(handle: Pointer); cdecl;
  TCkStringBuilder_ReplaceNoCase = function(handle: Pointer; value: PAnsiChar; replacement: PAnsiChar): Integer; cdecl;
  TCkStringBuilder_DecodeAndAppend = function(handle: Pointer; value: PAnsiChar; encoding: PAnsiChar; charset: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_Shorten = function(handle: Pointer; numChars: Integer): LongBool; cdecl;
  TCkStringBuilder_RemoveCharsAt = function(handle: Pointer; startIndex: Integer; numChars: Integer): LongBool; cdecl;
  TCkStringBuilder_GetRange = function(handle: Pointer; startIndex: Integer; numChars: Integer; removeFlag: LongBool): PAnsiChar; cdecl;
  TCkStringBuilder_GetHash = function(handle: Pointer; algorithm: PAnsiChar; encoding: PAnsiChar; charset: PAnsiChar): PAnsiChar; cdecl;
  TCkStringBuilder_RemoveAccents = function(handle: Pointer): LongBool; cdecl;
  TCkStringBuilder_AppendUuid = function(handle: Pointer; lowerCase: LongBool): LongBool; cdecl;
  TCkStringBuilder_AppendRandom = function(handle: Pointer; numBytes: Integer; encoding: PAnsiChar): LongBool; cdecl;
  TCkStringBuilder_AppendUuid7 = function(handle: Pointer; lowerCase: LongBool): LongBool; cdecl;
  TCkStringBuilder_RemoveEmojis = procedure(handle: Pointer); cdecl;
  TCkStringBuilder_RegexMatch = function(handle: Pointer; pattern: PAnsiChar; json: Pointer; timeoutMs: Integer): Integer; cdecl;
  TCkStringBuilder_RegexReplace = function(handle: Pointer; json: Pointer): LongBool; cdecl;
  TCkStringBuilder_MaskQuotedStrings = function(handle: Pointer; maskChar: PAnsiChar; quoteType: Integer; maskedStrings: Pointer): LongBool; cdecl;
  TCkStringBuilder_RestoreMaskedStrings = function(handle: Pointer; quoteType: Integer; maskedStrings: Pointer): LongBool; cdecl;
  TCkStringBuilder_MarkdownToHtml = function(handle: Pointer; options: Pointer; sbHtml: Pointer): LongBool; cdecl;
  TCkStringBuilder_GetRangeSb = function(handle: Pointer; startIndex: Integer; numChars: Integer; removeFlag: LongBool; sb: Pointer): LongBool; cdecl;
  TCkStringBuilder_AppendLn = function(handle: Pointer; str: PAnsiChar): LongBool; cdecl;

{ ---- C bridge function pointer variables ---- }
var
  CkStringBuilder_Create:  TCkStringBuilder_Create  = nil;
  CkStringBuilder_Dispose: TCkStringBuilder_Dispose = nil;
  CkStringBuilder_get_LastErrorHtml: TCkStringBuilder_get_LastErrorHtml = nil;
  CkStringBuilder_get_LastErrorText: TCkStringBuilder_get_LastErrorText = nil;
  CkStringBuilder_get_LastErrorXml: TCkStringBuilder_get_LastErrorXml = nil;
  CkStringBuilder_get_Version: TCkStringBuilder_get_Version = nil;
  CkStringBuilder_get_DebugLogFilePath: TCkStringBuilder_get_DebugLogFilePath = nil;
  CkStringBuilder_put_DebugLogFilePath: TCkStringBuilder_put_DebugLogFilePath = nil;
  CkStringBuilder_get_VerboseLogging: TCkStringBuilder_get_VerboseLogging = nil;
  CkStringBuilder_put_VerboseLogging: TCkStringBuilder_put_VerboseLogging = nil;
  CkStringBuilder_get_LastMethodSuccess: TCkStringBuilder_get_LastMethodSuccess = nil;
  CkStringBuilder_put_LastMethodSuccess: TCkStringBuilder_put_LastMethodSuccess = nil;
  CkStringBuilder_get_Length: TCkStringBuilder_get_Length = nil;
  CkStringBuilder_get_IntValue: TCkStringBuilder_get_IntValue = nil;
  CkStringBuilder_put_IntValue: TCkStringBuilder_put_IntValue = nil;
  CkStringBuilder_get_IsBase64: TCkStringBuilder_get_IsBase64 = nil;
  CkStringBuilder_get_HasEmojis: TCkStringBuilder_get_HasEmojis = nil;
  CkStringBuilder_Append: TCkStringBuilder_Append = nil;
  CkStringBuilder_AppendInt: TCkStringBuilder_AppendInt = nil;
  CkStringBuilder_AppendInt64: TCkStringBuilder_AppendInt64 = nil;
  CkStringBuilder_Clear: TCkStringBuilder_Clear = nil;
  CkStringBuilder_Replace: TCkStringBuilder_Replace = nil;
  CkStringBuilder_GetAsString: TCkStringBuilder_GetAsString = nil;
  CkStringBuilder_ContentsEqual: TCkStringBuilder_ContentsEqual = nil;
  CkStringBuilder_Contains: TCkStringBuilder_Contains = nil;
  CkStringBuilder_IsWellFormed: TCkStringBuilder_IsWellFormed = nil;
  CkStringBuilder_Prepend: TCkStringBuilder_Prepend = nil;
  CkStringBuilder_SetString: TCkStringBuilder_SetString = nil;
  CkStringBuilder_Encode: TCkStringBuilder_Encode = nil;
  CkStringBuilder_GetEncoded: TCkStringBuilder_GetEncoded = nil;
  CkStringBuilder_Decode: TCkStringBuilder_Decode = nil;
  CkStringBuilder_Trim: TCkStringBuilder_Trim = nil;
  CkStringBuilder_TrimInsideSpaces: TCkStringBuilder_TrimInsideSpaces = nil;
  CkStringBuilder_StartsWith: TCkStringBuilder_StartsWith = nil;
  CkStringBuilder_EndsWith: TCkStringBuilder_EndsWith = nil;
  CkStringBuilder_ToLowercase: TCkStringBuilder_ToLowercase = nil;
  CkStringBuilder_ToUppercase: TCkStringBuilder_ToUppercase = nil;
  CkStringBuilder_ToCRLF: TCkStringBuilder_ToCRLF = nil;
  CkStringBuilder_ToLF: TCkStringBuilder_ToLF = nil;
  CkStringBuilder_EntityDecode: TCkStringBuilder_EntityDecode = nil;
  CkStringBuilder_ReplaceWord: TCkStringBuilder_ReplaceWord = nil;
  CkStringBuilder_ReplaceBetween: TCkStringBuilder_ReplaceBetween = nil;
  CkStringBuilder_GetBetween: TCkStringBuilder_GetBetween = nil;
  CkStringBuilder_GetAfterBetween: TCkStringBuilder_GetAfterBetween = nil;
  CkStringBuilder_GetNth: TCkStringBuilder_GetNth = nil;
  CkStringBuilder_SetNth: TCkStringBuilder_SetNth = nil;
  CkStringBuilder_LoadFile: TCkStringBuilder_LoadFile = nil;
  CkStringBuilder_WriteFile: TCkStringBuilder_WriteFile = nil;
  CkStringBuilder_AppendSb: TCkStringBuilder_AppendSb = nil;
  CkStringBuilder_ContentsEqualSb: TCkStringBuilder_ContentsEqualSb = nil;
  CkStringBuilder_LastNLines: TCkStringBuilder_LastNLines = nil;
  CkStringBuilder_AppendBd: TCkStringBuilder_AppendBd = nil;
  CkStringBuilder_ReplaceAllBetween: TCkStringBuilder_ReplaceAllBetween = nil;
  CkStringBuilder_AppendLine: TCkStringBuilder_AppendLine = nil;
  CkStringBuilder_SecureClear: TCkStringBuilder_SecureClear = nil;
  CkStringBuilder_ReplaceI: TCkStringBuilder_ReplaceI = nil;
  CkStringBuilder_ContainsWord: TCkStringBuilder_ContainsWord = nil;
  CkStringBuilder_PunyEncode: TCkStringBuilder_PunyEncode = nil;
  CkStringBuilder_PunyDecode: TCkStringBuilder_PunyDecode = nil;
  CkStringBuilder_ReplaceAfterFinal: TCkStringBuilder_ReplaceAfterFinal = nil;
  CkStringBuilder_WriteFileIfModified: TCkStringBuilder_WriteFileIfModified = nil;
  CkStringBuilder_GetBefore: TCkStringBuilder_GetBefore = nil;
  CkStringBuilder_RemoveBefore: TCkStringBuilder_RemoveBefore = nil;
  CkStringBuilder_ReplaceFirst: TCkStringBuilder_ReplaceFirst = nil;
  CkStringBuilder_GetAfterFinal: TCkStringBuilder_GetAfterFinal = nil;
  CkStringBuilder_RemoveAfterFinal: TCkStringBuilder_RemoveAfterFinal = nil;
  CkStringBuilder_Obfuscate: TCkStringBuilder_Obfuscate = nil;
  CkStringBuilder_Unobfuscate: TCkStringBuilder_Unobfuscate = nil;
  CkStringBuilder_ReplaceNoCase: TCkStringBuilder_ReplaceNoCase = nil;
  CkStringBuilder_DecodeAndAppend: TCkStringBuilder_DecodeAndAppend = nil;
  CkStringBuilder_Shorten: TCkStringBuilder_Shorten = nil;
  CkStringBuilder_RemoveCharsAt: TCkStringBuilder_RemoveCharsAt = nil;
  CkStringBuilder_GetRange: TCkStringBuilder_GetRange = nil;
  CkStringBuilder_GetHash: TCkStringBuilder_GetHash = nil;
  CkStringBuilder_RemoveAccents: TCkStringBuilder_RemoveAccents = nil;
  CkStringBuilder_AppendUuid: TCkStringBuilder_AppendUuid = nil;
  CkStringBuilder_AppendRandom: TCkStringBuilder_AppendRandom = nil;
  CkStringBuilder_AppendUuid7: TCkStringBuilder_AppendUuid7 = nil;
  CkStringBuilder_RemoveEmojis: TCkStringBuilder_RemoveEmojis = nil;
  CkStringBuilder_RegexMatch: TCkStringBuilder_RegexMatch = nil;
  CkStringBuilder_RegexReplace: TCkStringBuilder_RegexReplace = nil;
  CkStringBuilder_MaskQuotedStrings: TCkStringBuilder_MaskQuotedStrings = nil;
  CkStringBuilder_RestoreMaskedStrings: TCkStringBuilder_RestoreMaskedStrings = nil;
  CkStringBuilder_MarkdownToHtml: TCkStringBuilder_MarkdownToHtml = nil;
  CkStringBuilder_GetRangeSb: TCkStringBuilder_GetRangeSb = nil;
  CkStringBuilder_AppendLn: TCkStringBuilder_AppendLn = nil;

constructor TStringBuilder.Create;
begin
  inherited Create;
  FHandle := CkStringBuilder_Create();
end;

destructor TStringBuilder.Destroy;
begin
  if FHandle <> nil then
    CkStringBuilder_Dispose(FHandle);
  FHandle := nil;
  inherited;
end;

function TStringBuilder.GetLastErrorHtml: string;
begin
  Result := CkToStr(CkStringBuilder_get_LastErrorHtml(FHandle));
end;

function TStringBuilder.GetLastErrorText: string;
begin
  Result := CkToStr(CkStringBuilder_get_LastErrorText(FHandle));
end;

function TStringBuilder.GetLastErrorXml: string;
begin
  Result := CkToStr(CkStringBuilder_get_LastErrorXml(FHandle));
end;

function TStringBuilder.GetVersion: string;
begin
  Result := CkToStr(CkStringBuilder_get_Version(FHandle));
end;

function TStringBuilder.GetDebugLogFilePath: string;
begin
  Result := CkToStr(CkStringBuilder_get_DebugLogFilePath(FHandle));
end;

procedure TStringBuilder.SetDebugLogFilePath(AValue: string);
begin
  CkStringBuilder_put_DebugLogFilePath(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TStringBuilder.GetVerboseLogging: Boolean;
begin
  Result := Boolean(CkStringBuilder_get_VerboseLogging(FHandle));
end;

procedure TStringBuilder.SetVerboseLogging(AValue: Boolean);
begin
  CkStringBuilder_put_VerboseLogging(FHandle, LongBool(AValue));
end;

function TStringBuilder.GetLastMethodSuccess: Boolean;
begin
  Result := Boolean(CkStringBuilder_get_LastMethodSuccess(FHandle));
end;

procedure TStringBuilder.SetLastMethodSuccess(AValue: Boolean);
begin
  CkStringBuilder_put_LastMethodSuccess(FHandle, LongBool(AValue));
end;

function TStringBuilder.GetLength: Integer;
begin
  Result := CkStringBuilder_get_Length(FHandle);
end;

function TStringBuilder.GetIntValue: Integer;
begin
  Result := CkStringBuilder_get_IntValue(FHandle);
end;

procedure TStringBuilder.SetIntValue(AValue: Integer);
begin
  CkStringBuilder_put_IntValue(FHandle, AValue);
end;

function TStringBuilder.GetIsBase64: Boolean;
begin
  Result := Boolean(CkStringBuilder_get_IsBase64(FHandle));
end;

function TStringBuilder.GetHasEmojis: Boolean;
begin
  Result := Boolean(CkStringBuilder_get_HasEmojis(FHandle));
end;

function TStringBuilder.Append(const value: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_Append(FHandle, PAnsiChar(StrToCk(value))));
end;

function TStringBuilder.AppendInt(value: Integer): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendInt(FHandle, value));
end;

function TStringBuilder.AppendInt64(value: Int64): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendInt64(FHandle, value));
end;

procedure TStringBuilder.Clear;
begin
  CkStringBuilder_Clear(FHandle);
end;

function TStringBuilder.Replace(const value: string; const replacement: string): Integer;
begin
  Result := CkStringBuilder_Replace(FHandle, PAnsiChar(StrToCk(value)), PAnsiChar(StrToCk(replacement)));
end;

function TStringBuilder.GetAsString: string;
begin
  Result := CkToStr(CkStringBuilder_GetAsString(FHandle));
end;

function TStringBuilder.ContentsEqual(const str: string; caseSensitive: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_ContentsEqual(FHandle, PAnsiChar(StrToCk(str)), LongBool(caseSensitive)));
end;

function TStringBuilder.Contains(const str: string; caseSensitive: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_Contains(FHandle, PAnsiChar(StrToCk(str)), LongBool(caseSensitive)));
end;

function TStringBuilder.IsWellFormed(const format: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_IsWellFormed(FHandle, PAnsiChar(StrToCk(format))));
end;

function TStringBuilder.Prepend(const value: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_Prepend(FHandle, PAnsiChar(StrToCk(value))));
end;

function TStringBuilder.SetString(const value: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_SetString(FHandle, PAnsiChar(StrToCk(value))));
end;

function TStringBuilder.Encode(const encoding: string; const charset: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_Encode(FHandle, PAnsiChar(StrToCk(encoding)), PAnsiChar(StrToCk(charset))));
end;

function TStringBuilder.GetEncoded(const encoding: string; const charset: string): string;
begin
  Result := CkToStr(CkStringBuilder_GetEncoded(FHandle, PAnsiChar(StrToCk(encoding)), PAnsiChar(StrToCk(charset))));
end;

function TStringBuilder.Decode(const encoding: string; const charset: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_Decode(FHandle, PAnsiChar(StrToCk(encoding)), PAnsiChar(StrToCk(charset))));
end;

function TStringBuilder.Trim: Boolean;
begin
  Result := Boolean(CkStringBuilder_Trim(FHandle));
end;

function TStringBuilder.TrimInsideSpaces: Boolean;
begin
  Result := Boolean(CkStringBuilder_TrimInsideSpaces(FHandle));
end;

function TStringBuilder.StartsWith(const substr: string; caseSensitive: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_StartsWith(FHandle, PAnsiChar(StrToCk(substr)), LongBool(caseSensitive)));
end;

function TStringBuilder.EndsWith(const substr: string; caseSensitive: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_EndsWith(FHandle, PAnsiChar(StrToCk(substr)), LongBool(caseSensitive)));
end;

function TStringBuilder.ToLowercase: Boolean;
begin
  Result := Boolean(CkStringBuilder_ToLowercase(FHandle));
end;

function TStringBuilder.ToUppercase: Boolean;
begin
  Result := Boolean(CkStringBuilder_ToUppercase(FHandle));
end;

function TStringBuilder.ToCRLF: Boolean;
begin
  Result := Boolean(CkStringBuilder_ToCRLF(FHandle));
end;

function TStringBuilder.ToLF: Boolean;
begin
  Result := Boolean(CkStringBuilder_ToLF(FHandle));
end;

function TStringBuilder.EntityDecode: Boolean;
begin
  Result := Boolean(CkStringBuilder_EntityDecode(FHandle));
end;

function TStringBuilder.ReplaceWord(const value: string; const replacement: string): Integer;
begin
  Result := CkStringBuilder_ReplaceWord(FHandle, PAnsiChar(StrToCk(value)), PAnsiChar(StrToCk(replacement)));
end;

function TStringBuilder.ReplaceBetween(const beginMark: string; const endMark: string; const value: string; const replacement: string): Integer;
begin
  Result := CkStringBuilder_ReplaceBetween(FHandle, PAnsiChar(StrToCk(beginMark)), PAnsiChar(StrToCk(endMark)), PAnsiChar(StrToCk(value)), PAnsiChar(StrToCk(replacement)));
end;

function TStringBuilder.GetBetween(const beginMark: string; const endMark: string): string;
begin
  Result := CkToStr(CkStringBuilder_GetBetween(FHandle, PAnsiChar(StrToCk(beginMark)), PAnsiChar(StrToCk(endMark))));
end;

function TStringBuilder.GetAfterBetween(const searchAfter: string; const beginMark: string; const endMark: string): string;
begin
  Result := CkToStr(CkStringBuilder_GetAfterBetween(FHandle, PAnsiChar(StrToCk(searchAfter)), PAnsiChar(StrToCk(beginMark)), PAnsiChar(StrToCk(endMark))));
end;

function TStringBuilder.GetNth(index: Integer; const delimiterChar: string; exceptDoubleQuoted: Boolean; exceptEscaped: Boolean): string;
begin
  Result := CkToStr(CkStringBuilder_GetNth(FHandle, index, PAnsiChar(StrToCk(delimiterChar)), LongBool(exceptDoubleQuoted), LongBool(exceptEscaped)));
end;

function TStringBuilder.SetNth(index: Integer; const value: string; const delimiterChar: string; exceptDoubleQuoted: Boolean; exceptEscaped: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_SetNth(FHandle, index, PAnsiChar(StrToCk(value)), PAnsiChar(StrToCk(delimiterChar)), LongBool(exceptDoubleQuoted), LongBool(exceptEscaped)));
end;

function TStringBuilder.LoadFile(const path: string; const charset: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_LoadFile(FHandle, PAnsiChar(StrToCk(path)), PAnsiChar(StrToCk(charset))));
end;

function TStringBuilder.WriteFile(const path: string; const charset: string; emitBom: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_WriteFile(FHandle, PAnsiChar(StrToCk(path)), PAnsiChar(StrToCk(charset)), LongBool(emitBom)));
end;

function TStringBuilder.AppendSb(sb: TChilkatBase): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendSb(FHandle, sb.Handle));
end;

function TStringBuilder.ContentsEqualSb(sb: TChilkatBase; caseSensitive: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_ContentsEqualSb(FHandle, sb.Handle, LongBool(caseSensitive)));
end;

function TStringBuilder.LastNLines(numLines: Integer; bCrlf: Boolean): string;
begin
  Result := CkToStr(CkStringBuilder_LastNLines(FHandle, numLines, LongBool(bCrlf)));
end;

function TStringBuilder.AppendBd(binData: TChilkatBase; const charset: string; offset: Integer; numBytes: Integer): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendBd(FHandle, binData.Handle, PAnsiChar(StrToCk(charset)), offset, numBytes));
end;

function TStringBuilder.ReplaceAllBetween(const beginMark: string; const endMark: string; const replacement: string; replaceMarks: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_ReplaceAllBetween(FHandle, PAnsiChar(StrToCk(beginMark)), PAnsiChar(StrToCk(endMark)), PAnsiChar(StrToCk(replacement)), LongBool(replaceMarks)));
end;

function TStringBuilder.AppendLine(const str: string; crlf: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendLine(FHandle, PAnsiChar(StrToCk(str)), LongBool(crlf)));
end;

procedure TStringBuilder.SecureClear;
begin
  CkStringBuilder_SecureClear(FHandle);
end;

function TStringBuilder.ReplaceI(const value: string; replacement: Integer): Integer;
begin
  Result := CkStringBuilder_ReplaceI(FHandle, PAnsiChar(StrToCk(value)), replacement);
end;

function TStringBuilder.ContainsWord(const word: string; caseSensitive: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_ContainsWord(FHandle, PAnsiChar(StrToCk(word)), LongBool(caseSensitive)));
end;

function TStringBuilder.PunyEncode: Boolean;
begin
  Result := Boolean(CkStringBuilder_PunyEncode(FHandle));
end;

function TStringBuilder.PunyDecode: Boolean;
begin
  Result := Boolean(CkStringBuilder_PunyDecode(FHandle));
end;

function TStringBuilder.ReplaceAfterFinal(const marker: string; const replacement: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_ReplaceAfterFinal(FHandle, PAnsiChar(StrToCk(marker)), PAnsiChar(StrToCk(replacement))));
end;

function TStringBuilder.WriteFileIfModified(const path: string; const charset: string; emitBom: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_WriteFileIfModified(FHandle, PAnsiChar(StrToCk(path)), PAnsiChar(StrToCk(charset)), LongBool(emitBom)));
end;

function TStringBuilder.GetBefore(const marker: string; removeFlag: Boolean): string;
begin
  Result := CkToStr(CkStringBuilder_GetBefore(FHandle, PAnsiChar(StrToCk(marker)), LongBool(removeFlag)));
end;

function TStringBuilder.RemoveBefore(const marker: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_RemoveBefore(FHandle, PAnsiChar(StrToCk(marker))));
end;

function TStringBuilder.ReplaceFirst(const value: string; const replacement: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_ReplaceFirst(FHandle, PAnsiChar(StrToCk(value)), PAnsiChar(StrToCk(replacement))));
end;

function TStringBuilder.GetAfterFinal(const marker: string; removeFlag: Boolean): string;
begin
  Result := CkToStr(CkStringBuilder_GetAfterFinal(FHandle, PAnsiChar(StrToCk(marker)), LongBool(removeFlag)));
end;

function TStringBuilder.RemoveAfterFinal(const marker: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_RemoveAfterFinal(FHandle, PAnsiChar(StrToCk(marker))));
end;

procedure TStringBuilder.Obfuscate;
begin
  CkStringBuilder_Obfuscate(FHandle);
end;

procedure TStringBuilder.Unobfuscate;
begin
  CkStringBuilder_Unobfuscate(FHandle);
end;

function TStringBuilder.ReplaceNoCase(const value: string; const replacement: string): Integer;
begin
  Result := CkStringBuilder_ReplaceNoCase(FHandle, PAnsiChar(StrToCk(value)), PAnsiChar(StrToCk(replacement)));
end;

function TStringBuilder.DecodeAndAppend(const value: string; const encoding: string; const charset: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_DecodeAndAppend(FHandle, PAnsiChar(StrToCk(value)), PAnsiChar(StrToCk(encoding)), PAnsiChar(StrToCk(charset))));
end;

function TStringBuilder.Shorten(numChars: Integer): Boolean;
begin
  Result := Boolean(CkStringBuilder_Shorten(FHandle, numChars));
end;

function TStringBuilder.RemoveCharsAt(startIndex: Integer; numChars: Integer): Boolean;
begin
  Result := Boolean(CkStringBuilder_RemoveCharsAt(FHandle, startIndex, numChars));
end;

function TStringBuilder.GetRange(startIndex: Integer; numChars: Integer; removeFlag: Boolean): string;
begin
  Result := CkToStr(CkStringBuilder_GetRange(FHandle, startIndex, numChars, LongBool(removeFlag)));
end;

function TStringBuilder.GetHash(const algorithm: string; const encoding: string; const charset: string): string;
begin
  Result := CkToStr(CkStringBuilder_GetHash(FHandle, PAnsiChar(StrToCk(algorithm)), PAnsiChar(StrToCk(encoding)), PAnsiChar(StrToCk(charset))));
end;

function TStringBuilder.RemoveAccents: Boolean;
begin
  Result := Boolean(CkStringBuilder_RemoveAccents(FHandle));
end;

function TStringBuilder.AppendUuid(lowerCase: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendUuid(FHandle, LongBool(lowerCase)));
end;

function TStringBuilder.AppendRandom(numBytes: Integer; const encoding: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendRandom(FHandle, numBytes, PAnsiChar(StrToCk(encoding))));
end;

function TStringBuilder.AppendUuid7(lowerCase: Boolean): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendUuid7(FHandle, LongBool(lowerCase)));
end;

procedure TStringBuilder.RemoveEmojis;
begin
  CkStringBuilder_RemoveEmojis(FHandle);
end;

function TStringBuilder.RegexMatch(const pattern: string; json: TChilkatBase; timeoutMs: Integer): Integer;
begin
  Result := CkStringBuilder_RegexMatch(FHandle, PAnsiChar(StrToCk(pattern)), json.Handle, timeoutMs);
end;

function TStringBuilder.RegexReplace(json: TChilkatBase): Boolean;
begin
  Result := Boolean(CkStringBuilder_RegexReplace(FHandle, json.Handle));
end;

function TStringBuilder.MaskQuotedStrings(const maskChar: string; quoteType: Integer; maskedStrings: TChilkatBase): Boolean;
begin
  Result := Boolean(CkStringBuilder_MaskQuotedStrings(FHandle, PAnsiChar(StrToCk(maskChar)), quoteType, maskedStrings.Handle));
end;

function TStringBuilder.RestoreMaskedStrings(quoteType: Integer; maskedStrings: TChilkatBase): Boolean;
begin
  Result := Boolean(CkStringBuilder_RestoreMaskedStrings(FHandle, quoteType, maskedStrings.Handle));
end;

function TStringBuilder.MarkdownToHtml(options: TChilkatBase; sbHtml: TChilkatBase): Boolean;
begin
  Result := Boolean(CkStringBuilder_MarkdownToHtml(FHandle, options.Handle, sbHtml.Handle));
end;

function TStringBuilder.GetRangeSb(startIndex: Integer; numChars: Integer; removeFlag: Boolean; sb: TChilkatBase): Boolean;
begin
  Result := Boolean(CkStringBuilder_GetRangeSb(FHandle, startIndex, numChars, LongBool(removeFlag), sb.Handle));
end;

function TStringBuilder.AppendLn(const str: string): Boolean;
begin
  Result := Boolean(CkStringBuilder_AppendLn(FHandle, PAnsiChar(StrToCk(str))));
end;

initialization
  Chilkat_GetProcedureAddress(CkStringBuilder_Create,  'CkStringBuilder_Create');
  Chilkat_GetProcedureAddress(CkStringBuilder_Dispose, 'CkStringBuilder_Dispose');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_LastErrorHtml, 'CkStringBuilder_get_LastErrorHtml');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_LastErrorText, 'CkStringBuilder_get_LastErrorText');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_LastErrorXml, 'CkStringBuilder_get_LastErrorXml');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_Version, 'CkStringBuilder_get_Version');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_DebugLogFilePath, 'CkStringBuilder_get_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkStringBuilder_put_DebugLogFilePath, 'CkStringBuilder_put_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_VerboseLogging, 'CkStringBuilder_get_VerboseLogging');
  Chilkat_GetProcedureAddress(CkStringBuilder_put_VerboseLogging, 'CkStringBuilder_put_VerboseLogging');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_LastMethodSuccess, 'CkStringBuilder_get_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkStringBuilder_put_LastMethodSuccess, 'CkStringBuilder_put_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_Length, 'CkStringBuilder_get_Length');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_IntValue, 'CkStringBuilder_get_IntValue');
  Chilkat_GetProcedureAddress(CkStringBuilder_put_IntValue, 'CkStringBuilder_put_IntValue');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_IsBase64, 'CkStringBuilder_get_IsBase64');
  Chilkat_GetProcedureAddress(CkStringBuilder_get_HasEmojis, 'CkStringBuilder_get_HasEmojis');
  Chilkat_GetProcedureAddress(CkStringBuilder_Append, 'CkStringBuilder_Append');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendInt, 'CkStringBuilder_AppendInt');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendInt64, 'CkStringBuilder_AppendInt64');
  Chilkat_GetProcedureAddress(CkStringBuilder_Clear, 'CkStringBuilder_Clear');
  Chilkat_GetProcedureAddress(CkStringBuilder_Replace, 'CkStringBuilder_Replace');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetAsString, 'CkStringBuilder_GetAsString');
  Chilkat_GetProcedureAddress(CkStringBuilder_ContentsEqual, 'CkStringBuilder_ContentsEqual');
  Chilkat_GetProcedureAddress(CkStringBuilder_Contains, 'CkStringBuilder_Contains');
  Chilkat_GetProcedureAddress(CkStringBuilder_IsWellFormed, 'CkStringBuilder_IsWellFormed');
  Chilkat_GetProcedureAddress(CkStringBuilder_Prepend, 'CkStringBuilder_Prepend');
  Chilkat_GetProcedureAddress(CkStringBuilder_SetString, 'CkStringBuilder_SetString');
  Chilkat_GetProcedureAddress(CkStringBuilder_Encode, 'CkStringBuilder_Encode');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetEncoded, 'CkStringBuilder_GetEncoded');
  Chilkat_GetProcedureAddress(CkStringBuilder_Decode, 'CkStringBuilder_Decode');
  Chilkat_GetProcedureAddress(CkStringBuilder_Trim, 'CkStringBuilder_Trim');
  Chilkat_GetProcedureAddress(CkStringBuilder_TrimInsideSpaces, 'CkStringBuilder_TrimInsideSpaces');
  Chilkat_GetProcedureAddress(CkStringBuilder_StartsWith, 'CkStringBuilder_StartsWith');
  Chilkat_GetProcedureAddress(CkStringBuilder_EndsWith, 'CkStringBuilder_EndsWith');
  Chilkat_GetProcedureAddress(CkStringBuilder_ToLowercase, 'CkStringBuilder_ToLowercase');
  Chilkat_GetProcedureAddress(CkStringBuilder_ToUppercase, 'CkStringBuilder_ToUppercase');
  Chilkat_GetProcedureAddress(CkStringBuilder_ToCRLF, 'CkStringBuilder_ToCRLF');
  Chilkat_GetProcedureAddress(CkStringBuilder_ToLF, 'CkStringBuilder_ToLF');
  Chilkat_GetProcedureAddress(CkStringBuilder_EntityDecode, 'CkStringBuilder_EntityDecode');
  Chilkat_GetProcedureAddress(CkStringBuilder_ReplaceWord, 'CkStringBuilder_ReplaceWord');
  Chilkat_GetProcedureAddress(CkStringBuilder_ReplaceBetween, 'CkStringBuilder_ReplaceBetween');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetBetween, 'CkStringBuilder_GetBetween');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetAfterBetween, 'CkStringBuilder_GetAfterBetween');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetNth, 'CkStringBuilder_GetNth');
  Chilkat_GetProcedureAddress(CkStringBuilder_SetNth, 'CkStringBuilder_SetNth');
  Chilkat_GetProcedureAddress(CkStringBuilder_LoadFile, 'CkStringBuilder_LoadFile');
  Chilkat_GetProcedureAddress(CkStringBuilder_WriteFile, 'CkStringBuilder_WriteFile');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendSb, 'CkStringBuilder_AppendSb');
  Chilkat_GetProcedureAddress(CkStringBuilder_ContentsEqualSb, 'CkStringBuilder_ContentsEqualSb');
  Chilkat_GetProcedureAddress(CkStringBuilder_LastNLines, 'CkStringBuilder_LastNLines');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendBd, 'CkStringBuilder_AppendBd');
  Chilkat_GetProcedureAddress(CkStringBuilder_ReplaceAllBetween, 'CkStringBuilder_ReplaceAllBetween');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendLine, 'CkStringBuilder_AppendLine');
  Chilkat_GetProcedureAddress(CkStringBuilder_SecureClear, 'CkStringBuilder_SecureClear');
  Chilkat_GetProcedureAddress(CkStringBuilder_ReplaceI, 'CkStringBuilder_ReplaceI');
  Chilkat_GetProcedureAddress(CkStringBuilder_ContainsWord, 'CkStringBuilder_ContainsWord');
  Chilkat_GetProcedureAddress(CkStringBuilder_PunyEncode, 'CkStringBuilder_PunyEncode');
  Chilkat_GetProcedureAddress(CkStringBuilder_PunyDecode, 'CkStringBuilder_PunyDecode');
  Chilkat_GetProcedureAddress(CkStringBuilder_ReplaceAfterFinal, 'CkStringBuilder_ReplaceAfterFinal');
  Chilkat_GetProcedureAddress(CkStringBuilder_WriteFileIfModified, 'CkStringBuilder_WriteFileIfModified');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetBefore, 'CkStringBuilder_GetBefore');
  Chilkat_GetProcedureAddress(CkStringBuilder_RemoveBefore, 'CkStringBuilder_RemoveBefore');
  Chilkat_GetProcedureAddress(CkStringBuilder_ReplaceFirst, 'CkStringBuilder_ReplaceFirst');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetAfterFinal, 'CkStringBuilder_GetAfterFinal');
  Chilkat_GetProcedureAddress(CkStringBuilder_RemoveAfterFinal, 'CkStringBuilder_RemoveAfterFinal');
  Chilkat_GetProcedureAddress(CkStringBuilder_Obfuscate, 'CkStringBuilder_Obfuscate');
  Chilkat_GetProcedureAddress(CkStringBuilder_Unobfuscate, 'CkStringBuilder_Unobfuscate');
  Chilkat_GetProcedureAddress(CkStringBuilder_ReplaceNoCase, 'CkStringBuilder_ReplaceNoCase');
  Chilkat_GetProcedureAddress(CkStringBuilder_DecodeAndAppend, 'CkStringBuilder_DecodeAndAppend');
  Chilkat_GetProcedureAddress(CkStringBuilder_Shorten, 'CkStringBuilder_Shorten');
  Chilkat_GetProcedureAddress(CkStringBuilder_RemoveCharsAt, 'CkStringBuilder_RemoveCharsAt');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetRange, 'CkStringBuilder_GetRange');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetHash, 'CkStringBuilder_GetHash');
  Chilkat_GetProcedureAddress(CkStringBuilder_RemoveAccents, 'CkStringBuilder_RemoveAccents');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendUuid, 'CkStringBuilder_AppendUuid');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendRandom, 'CkStringBuilder_AppendRandom');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendUuid7, 'CkStringBuilder_AppendUuid7');
  Chilkat_GetProcedureAddress(CkStringBuilder_RemoveEmojis, 'CkStringBuilder_RemoveEmojis');
  Chilkat_GetProcedureAddress(CkStringBuilder_RegexMatch, 'CkStringBuilder_RegexMatch');
  Chilkat_GetProcedureAddress(CkStringBuilder_RegexReplace, 'CkStringBuilder_RegexReplace');
  Chilkat_GetProcedureAddress(CkStringBuilder_MaskQuotedStrings, 'CkStringBuilder_MaskQuotedStrings');
  Chilkat_GetProcedureAddress(CkStringBuilder_RestoreMaskedStrings, 'CkStringBuilder_RestoreMaskedStrings');
  Chilkat_GetProcedureAddress(CkStringBuilder_MarkdownToHtml, 'CkStringBuilder_MarkdownToHtml');
  Chilkat_GetProcedureAddress(CkStringBuilder_GetRangeSb, 'CkStringBuilder_GetRangeSb');
  Chilkat_GetProcedureAddress(CkStringBuilder_AppendLn, 'CkStringBuilder_AppendLn');

end.
