Transform to StudlyCaps.
Install
Install all functions of strman
yarn add strmanor just the toStudlyCaps function
yarn add strman.tostudlycapsUsage
import { toStudlyCaps } from 'strman'
// OR
import toStudlyCaps from 'strman.tostudlycaps'Parameters:
| Name | Type | Description |
|---|---|---|
value |
String | The String! |
- Source:
Returns:
String in StudlyCaps.
- Type
- String
Example
const title = 'A Javascript string manipulation library.'
toStudlyCaps(title)
// => 'AJavascriptStringManipulationLibrary.'