StringExtensions.WordCap(this string str) Method
.NET Standard 2.x
Capitalizes the first letter of each word in a passed script. It sets the remaining letters in each word to lowercase.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static string WordCap(this string str);
Parameters
str
System.String
String to be modified.
Returns
System.String
If it succeeds, returns the text passed in the function argument with the first letter of each word in uppercase and the remaining letters in lowercase. Returns null
if an error occurs.
Examples
Coming soon.
Applies to
.NET Standard
2.x