[Pas2js] TTextInputWidget_with_spellcheck how to detect misspelled word

Michael Van Canneyt michael at freepascal.org
Sat Sep 19 14:22:44 CEST 2020



On Sat, 19 Sep 2020, Mgr. Janusz Chmiel wrote:

> I Am analysing strutils.pas unit. There are functions such as
> Function StartsText(const ASubText, AText: string): Boolean;
> But I do not know, if this function will help Me.

Yes. It will tell you if AText starts with ASubText, case-insensitive. 
You can simply call this for every word you wish to check.

Michael.


More information about the Pas2js mailing list