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
38
S
17
G
3
Posts: 872
Reputation: 6,905

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,870

Post » Wed Apr 22, 2015 4:58 pm

@ramones

THANK YOU!!!!!
B
38
S
17
G
3
Posts: 872
Reputation: 6,905


Return to How do I....?

Who is online

Users browsing this forum: mumu64 and 4 guests