Just to make sure that the package is installed even though the Unicode package is in the standard library so I don’t need to add it, I write these simple lines and still does not work:
julia> using Pkg
julia> Pkg.add(“Unicode”)
…
julia> isupper(‘A’)
ERROR: UndefVarError: isupper
not defined
Stacktrace:
[1] top-level scope
@ REPL[3]:1
julia> using Unicode
julia> isupper(‘A’)
ERROR: UndefVarError: isupper
not defined
Stacktrace:
[1] top-level scope
@ REPL[5]:1
I just want to make a function that tells me if the word is in all uppercase, like this:
function es_mayusculas(str::String)
letras = filter(isletter, str)
son = isupper(letras)
return son
end