I'm new to Julia, and I was wondering if there are any built-in functions to trim the string? I also want to check the length of the string, which, as I know, I can do with length(s) == 0, but I wondered if there are other built-in functions there? Thank you
I am basically trying to find the Julia equivalent for the following MATLAB code:
line = strtrim(line);
if isempty(line), continue; end % Skip empty lines
source
share