as you said, it becames usefull for IP address but i wanna use it for personal documents.
i've created a mask 000.000.000-00;0;_ but i don't wanna get all mask chars, only the user's typed chars. Today, with my difficult to understand how it works, i create a function that returns only the numbers of the text. It's something like this:
Function RemoveUnecessaryCharsFromCPF(CPF : String) : String;
var
aux : string;
i : Integer;
begin
aux := EmptyStr;
for i:= 1 to length(CPF) do
if (CPF[i] in ['0'..'9'] then
Aux := Aux + CPF[i];
Result := Aux;
end;Is there any way to make MaskEdit return the text as i need, making unecessary to use this function?