Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

[SOLVED] String Patterns '%u' help?

Asked by
VoltCode 101
7 years ago
Edited 7 years ago

I'm trying to do something like this:

p = game.Players.LocalPlayer
pat = "%u"
caps = p.Name:match(pat)

But it is only printing 'P' from 'Player1'

(Basically I'm trying to find what the player's name is, and capitalize it)

Is there an easier method to doing this? Or what's the solution?

Thanks in advance

0
Put [Solved] In your title if you've found the solution then, please soutpansa 120 — 7y

Answer this question