Function: web-mode-count-char-in-string
web-mode-count-char-in-string is a natively compiled function defined
in web-mode.el.
Signature
(web-mode-count-char-in-string CHAR STRING)
Source Code
;; Defined in /nix/store/2qgnz1rp30nzfz6w0apx4kdm14if1bbs-emacs-packages-deps/share/emacs/site-lisp/elpa/web-mode-20260831.219/web-mode.el
(defun web-mode-count-char-in-string (char string)
(let ((n 0))
(dotimes (i (length string))
(if (eq (elt string i) char)
(setq n (1+ n))))
n))