Help Center

Replacefunction

Replaces the item at the specified index.

String ManagementfunctionDWStrProcs.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION Replace (BYVAL idx AS LONG, BYREF dws AS DWSTRING) AS BOOLEAN

Parameters

NameDescription
idxThe one-based index of the item to replace.
dwsThe replacement string.

Return value

If the method succeeds, it returns TRUE; otherwise, FALSE.

Description

Replaces the item at the specified index.

Reference

  • Include file DWStrProcs.inc
  • Documented in String Management/Linked Lists.md
  • Topic: DWStrList