Function: evil-upcase-first

evil-upcase-first is a byte-compiled function defined in evil-common.el.

Signature

(evil-upcase-first STR)

Documentation

Return STR with the first letter upcased.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-upcase-first (str)
  "Return STR with the first letter upcased."
  (if (zerop (length str))
      str
    (concat (upcase (substring str 0 1))
            (substring str 1))))