2 ms·
It depends on language, library, and which substring function. And in some languages, like Bash IIRC, some functions and scripts handle differently `foo=""` (va
by chatmasta 3y ago
It depends on language, library, and which substring function. And in some languages, like Bash IIRC, some functions and scripts handle differently `foo=""` (variable foo is set to empty string) and `foo=` (variable foo is not set).
- account42 3y ago`foo=` does set the variable to empty in Bash and other POSIX compliant shells.