Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

reverse_

villares edited this page May 24, 2020 · 4 revisions

Nome

reverse()

Exemplos

String sa[] = { "OH ", "NY ", "MA ", "CA "}; 
sa = reverse(sa); 
print(sa);  // Imprime "CA MA NY OH " 

Descrição

Inverte a ordem de um array

Sintaxe

reverse(array)

Parâmetros array boolean[], byte[], char[], int[], float[], or String[]

Retorno

Array (do mesmo tipo da entrada)

Utilização

Web & Applicações

Relacionado

sort()

Clone this wiki locally