I have the string:
var str = "Quantidade [12]";
I need to retrieve the string but remove the space and [12], ie I need to return only the value: Quantity .
In case the string is var str = "Quantidade máxima [12]"; , I need to get...
asked by
02.10.2015 / 22:46