Function: s-capitalize
s-capitalize is a byte-compiled function defined in s.el.
Signature
(s-capitalize S)
Documentation
Convert S first word's first character to upper and the rest to lower case.
Source Code
;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s-capitalize (s)
"Convert S first word's first character to upper and the rest to lower case."
(declare (side-effect-free t))
(concat (upcase (substring s 0 1)) (downcase (substring s 1))))