UtilsLib REALbasic Plugin

CloneString Method

To make a true copy of REALbasic string use the CloneString method.

CloneString(
   str as String) as String

Parameters

str
REALbasic string you want to clone.

Returns

String

Remarks

REALbasic does not always make a true copy of a string when = operator is used, sometimes it only passes a reference.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    See Also

    GlobalMethods Global