proper case - a string processing function that returns a string argument with every first letter of a word in uppercase
pcase(string)
pcase works with variable-, fixed-length and constant strings. The result can be assigned to a variable or fixed-length string, and passed to a string parameter or function result.
' SharpBASIC proper case programming example
' ------------------------------------------
incl "lib/sys.sbi";
dim text: str = "hello, beautiful world!";
dim s: str;
main do
s = pcase(text);
print(s);
end
Output:
Hello, Beautiful World!