Hello 2025;;
I have the source of trim(); I used many times this function.
How to calculate begininvoke , by outside of trim?
AngleToString:=trim(InstrTest);
result:=trim(mtexted);
rezultat:=trim(rezultat);
fopen.fclose_append_newline:=trim(fopen.fclose_append_newline);

Definition the "BeginInvoke" inside my title is "<=#32"
If i replace the upper-source, then
if (length(AngleToString)>00)and((AngleToString[01]<=' ') or
(AngleToString[length(AngleToString)]<=' ')) then
AngleToString:=trim(InstrTest);
if (length(rezultat)>00) and (rezultat[01]<=#32) then rezultat:=trim(rezultat) else
if (length(rezultat)>01) and (rezultat[length(rezultat)]<=#32) then rezultat:=trim(rezultat) ;
C:Q1=I got increase of speed , if i use BeginInvoke" for "trim"?
C:Q2=Exists others functions with "BeginInvoke"? please you give me examples, similary with "Trim" but with strings, AnsiStrings, WipeString.....
C:Q3= Others functions <> Trim?

"Thank you, best regards,
Multumesc Arsenie Papacioc. Doamne ajuta-ne. Multumesc Sf. Nectarie dela Eghina"
