• + 0 comments

    in javascript the solution for me was just a line:

    return s.split(/[A-Z]/).length