This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//IBM BPM 8 | |
Packages.java.net.InetAddress.getLocalHost().getHostName(); | |
//Java | |
java.net.InetAddress.getLocalHost().getHostName(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Formata uma String que representa um valor númerico como Moeda | |
* Referência/Fonte: http://codigosprontos.blogspot.com.br/2010/06/o-codigo-function-moedavalor-casas.html | |
* | |
* @Params | |
* valor Obrigatório. String que representa um número (a parte decimal deve ser separada da parte inteira por vírgula) | |
* casas Obrigatório. Quantidade de casas decimais | |
* separdor_decimal Obrigatório. Separador de decimais, em geral é utilizado "," | |
* separador_milhar Obrigatório. Separado de milhar, em gerla é utlizado "." | |
* moeda Opcional. Abreviatura da moeda. Por exemplo: para Real, utilizar R$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var verificarEmail = function(email){ | |
var regex = /^[a-zA-Z0-9][a-zA-Z0-9\._-]+@([a-zA-Z0-9\._-]+\.)[a-zA-Z-0-9]{2,}$/; | |
var result = regex.exec(email) ? true : false; | |
return result; | |
} |
NewerOlder