Variant.CStringValue

From Xojo Documentation

Read-Only Property (As CString )
CStringValue = aVariant.CStringValue

Supported for all project types and targets.

Returns the value of the Variant as a CString.