Code: Select all
uses
StrUtils, ZSysUtils;
Assert( EndsWidth('', '') = EndsStr('', '') ); // => fails
BTW: I'm optimizing the function to not copy anything but only compare.
Moderators: EgonHugeist, mdaems
Code: Select all
uses
StrUtils, ZSysUtils;
Assert( EndsWidth('', '') = EndsStr('', '') ); // => fails