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
26
S
11
G
2
Posts: 669
Reputation: 5,038

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

Post » Wed Apr 22, 2015 4:58 pm

@ramones

THANK YOU!!!!!
B
26
S
11
G
2
Posts: 669
Reputation: 5,038


Return to How do I....?

Who is online

Users browsing this forum: cb130felix, Kermad, Lancifer, Matei511, mongoose665, piddlyPoo, yiuyiu6666 and 3 guests