Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE
The Str function converts the value of a numeric expression to a string.
This string manipulation function has the format:
Str(n as Integer) as String
Identifies the integer that is to be converted.
The function returns the string representing the value specified by the parameter n.
Example: Str function
This example prints the ASCII values of the letters "ABC" on the screen.
Dim OutStr as string
OutStr = Str(Asc("A"))+" "+Str(Asc("B"))+" "+Str(Asc("C"))
Print "AscII Values of the letters in ""ABC"" is: " + OutStr
|
Copyright © 2013 CA.
All rights reserved.
|
|