How do I uppercase first letter in a string?

Get help using Construct 2

Post » Wed Apr 22, 2015 1:14 pm

Hello,

How do i set only first letter uppercase in a string?

tnx!
B
33
S
14
G
3
Posts: 773
Reputation: 6,241

Post » Wed Apr 22, 2015 1:34 pm

Set text to
Code: Select all
uppercase(left(text, 1)) & right(text, len(text) - 1)


*edit* if you want the rest of the text to be lowercase
Code: Select all
uppercase(left(text, 1)) & lowercase(right(text, len(text) - 1))
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,730

Post » Wed Apr 22, 2015 4:58 pm

@ramones

THANK YOU!!!!!
B
33
S
14
G
3
Posts: 773
Reputation: 6,241


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests