Skip to content

Capitalizes first

Introduction

Capitalizes the first letter of a string, built-in method of phaser.

  • Author: Richard Davey

Usage

var result = Phaser.Utils.String.UppercaseFirst(str);