Signature (Visual Basic / VBA)
Public Function IntegerVectorToStringAsc( _
ByRef vChars() As Integer _
) As Variant
Code Example
Assuming
Dim vChars() As Integer
ReDim vChars(0 To 3)
vChars(1) = Asc("A")
vChars(2) = Asc("B")
vChars(3) = Asc("C")
for example
IntegerVectorToStringAsc(vChars()) = "ABC"
Parameters
| Parameter | Description |
|---|---|
| vChars | One-dimensional array of Integer values whose elements each contain the ASCII value for one character. Function examines elements from either 1 (one) or the lower bound (LBound(vChars)) (whichever is greater) to the upper bound (UBound(vChars)). Function returns Null if the upper bound (UBound(vChars)) is < 1 (less than one). |
Notes & Version History
| Note | The StringActToIntegerVector function has the opposite effect of IntegerVectorToStringAsc. |