This will capitalize your first
letter and lowercase the rest.
If varName is your variable
## Code :
newval := UPPERCASE(COPYSTR(varName,1,1)) + LOWERCASE(COPYSTR(varName,2));
##Output :
If the Input is "prateek Gupta"
then Output will be "Prateek gupta"