Label1.Caption:=LblTitulo.Caption.Substring(19);
Unfortunately Caption is not of
string type, but of
TCaption, and
SubString is defined as
TStringHelper.Substring, i.e. only for "pure" strings. So, practically, you can't use
SubString with captions, you should use
copy instead (it has a bit different syntax) or convert the caption to string like
SomeString := LblTitulo.Caption;
Label1.Caption := SomeString.Substring(19);