Pular para o conteúdo principal

Abreu Solutions - Develope return

Introdução - app_Return

Descubra o App Abreu Solutions, diponibiza diverças ferramentas em formato framework v4.7.2.

OnlyNumbers

BRA>> (retorna apenas números contidos dentro de uma string);
USA>> (returns only numbers contained within a string);

Requisição

string sNumbersA = "aff1eb2chf3it,4bk5h6gi7yl89yçfj0h";
string sNumbersB = "001.002.003-45";
string sNumbersC = "R$ 1.234,99";
string sNumbersD = "+55 (12) 12345-6789";
sRetorno = OnlyNumbers(sNumbersA);
sRetorno = OnlyNumbers(sNumbersB);
sRetorno = OnlyNumbers(sNumbersC);
sRetorno = OnlyNumbers(sNumbersD);

Retorno

string sRetorno = "1234567890";
string sRetorno = "00100200345";
string sRetorno = "123499";
string sRetorno = "5512123456789";

TextWithoutAccents

BRA>> (retorna texto sem acentos);
USA>> (returns text without accents);

Requisição

string sText = "Ação de requisição no email@site.com";
sRetorno = TextWithoutAccents(sText);

Retorno

string sRetorno = "Acao de requisicao no email@site.com";

TextWithoutAccentsExcel

BRA>> (retorna texto sem acentos e sem caracteres especiais);
USA>> (returns text without accents and no special characters);

Requisição

string sText = "sText";
sRetorno = TextWithoutAccents(sText);

Retorno

string sRetorno = "1234567890";

Html

BRA>> (retorna as tag do html de forma que possa ser impressa no browser como texto);
USA>> (returns html tags so that they can be printed in the browser as text);

Requisição

string sText = "sText";
sRetorno = Html(sText);

Retorno

string sRetorno = "1234567890";

ReverseString

BRA>> (retorna o texto espelhado == “odahlepse”);
USA>> (returns the mirrored text == “derorrim”);

Requisição

string sText = "sText";
sRetorno = ReverseString(sText);

Retorno

string sRetorno = "1234567890";

Comentários

Postagens mais visitadas deste blog

Abreu Solutions - Develope introdução

Abreu Solutions - Develope control

Abreu Solutions - Develope format