Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 304 Bytes

File metadata and controls

6 lines (5 loc) · 304 Bytes

Operadores de String

SINTAXE [ -AQUI $str ]

-z Verifica se o tamanho do operando da string fornecido é zero; -n Verifica se o tamanho do operando da string especificado é diferente de zero; [ $uma_var ] Verifica se uma_var não é a string vazia; se estiver vazio, ele retornará false. [ $str ]