import.css=/download/attachments/6062824/tecnologia.css |
Embaralha/Desembaralha uma string.
Embaralha( < cTexto >, < nTipo > ) |
Nome | Tipo | Descrição | Obrigatório | Referência |
|---|---|---|---|---|
cTexto | caractere | Indica o texto que será embaralhado. | X |
|
nTipo | numérico | Quando 0 embaralha String. Quando 1 desembaralha string. | X |
|
Nome | Tipo | Descrição |
|---|---|---|
cRet | caractere | Retorna string embaralhada/desembaralhada. |
User Function Exemplo()
sEmbaralhada := Embaralha('TOTVS APPSERVER', 0)
conout(sEmbaralhada) // Result: "PRTSPVO SETAERV"
conout(Embaralha(sEmbaralhada,1)) // Result: 'TOTVS APPSERVER'
Return
|