Help Center

DWStrReversefunction

Reverses the contents of a string expression.

String ManagementfunctionDWSTRProcs.incdocumented

Syntax

FUNCTION DWStrReverse (BYREF wszSourceString AS CONST WSTRING) AS DWSTRING

Parameters

NameDescription
wszSourceStringThe string to be reversed.

Description

Reverses the contents of a string expression.

Example

DIM dws AS DWSTRING = DWStrReverse("garden") ' Output: "nedrag"

Reference

  • Include file DWSTRProcs.inc
  • Defined in AfxNova/DWStrProcs.inc:852
  • Documented in String Management/DWString Procedures.md
  • Topic: String Procedures