ToProperCase
Posted: Sat Apr 12, 2008 12:31 pm
Is it possible to format at string as TitleCase. The first letter uppercase and the rest lowercase
Best regards
Leif Linding
Best regards
Leif Linding
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
Code: Select all
{ToProperCase("brendan")}
or
{ToProperCase(Customer.FirstName)}
Brendan wrote:you can use the following:
Code: Select all
{ToProperCase("brendan")} or {ToProperCase(Customer.FirstName)}
Code: Select all
{Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(Customer.FirstName)}