Help Center

AfxStrReversefunction

Reverses the contents of a string expression.

String ManagementfunctionAfxStr.incdocumented

Syntax

FUNCTION AfxStrReverse (BYREF wszMainStr AS CONST WSTRING) AS DWSTRING

Parameters

NameDescription
wszMainStrThe string to be reversed.

Description

Reverses the contents of a string expression.

Example

DIM dws AS DWSTRING = AfxStrReverse("garden") ' Returns "nedrag"

Reference

  • Include file AfxStr.inc
  • Defined in AfxNova/AfxStr.inc:383
  • Documented in String Management/String Procedures.md
  • Topic: String Procedures