PHP Classes

File: src/utils/StringHelper.ts

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   src/utils/StringHelper.ts   Download  
File: src/utils/StringHelper.ts
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 192 bytes
 

Contents

Class file image Download
/** * Capitalize a string. * * @param text string * @return string */ export function capitalize(text: string) { return text.charAt(0).toUpperCase() + text.slice(1).toLowerCase(); }