UCS( ) |
Return Uppercase String |
UCS(string$[,ERR=stmtref])
Where:
stmtref |
Program line number or statement label to which to transfer control. |
string$ |
String expression whose uppercase ASCII counterpart is to be returned. |
Uppercase string equivalent of lowercase string.
The UCS( ) function replaces all lowercase ASCII characters in a given string with their corresponding uppercase values.
LCS( ) Return Lowercase String
input "Enter name: ",NAME$
NAME$(2)=lcs(NAME$(2))
NAME$(1,1)=ucs(NAME$(1,1))
print "Name is: ",NAME$
->run
Enter name: rOBERT Name is: Robert