Skip to main content

$string

The $string is the main class that provides the common methods to work with JavaScript strings.

Import

import {$string} from 'comfortable/$string'

Simple Usage Example

import {$string} from 'comfortable/$string'

$string('hello world').titleCase() // Hello World

API

Methods