Skip to content

Function_evisit_core_js_utils_prettify

Wyatt Greenway edited this page Jan 31, 2017 · 2 revisions

function prettify(str[, allWords])

Parameters

  • str
    • (String) String to modify
  • allWords [optional]
    • (Boolean) If true, capitalize the first letter of EVERY word (instead of just the first)

Return value

  • (String) A prettified string

Description

Capitalize the first letter of the first word, or optionally capitalize the first letter of every word if allWords argument is true


Clone this wiki locally