Browse documentation

Getting Started

IntroductionStart HereBeginner GuideRecipesCheat Sheet

Guides

Static vs HelperCase ConversionValidationEncodingParsing & Try APIsFuzzy MatchingText Analysis

Reference

API OverviewContracts & LimitationsHelper Feature FlagsHelper Coverage

Helper feature flags

StringKitHelper conditionally includes helper method groups. Its default is deliberately simple:

fpc -dSK_ANY -dSK_CASE -dSK_ENCODE -Fusrc your_program.pas
DefineIncludes
SK_MANIPtrimming, padding, whitespace, length, substrings
SK_MATCHregex, replacement, text inspection, word extraction
SK_COMPAREdistances, similarities, fuzzy matching
SK_CASEidentifier and title conversion
SK_VALIDATEcommon syntax validation
SK_FORMATtruncation and number/file-size formatting
SK_NUMERICRoman, ordinal, number-to-words
SK_ENCODEHTML, URL, Base64, hex
SK_SPLITsplitting and joining
SK_PHONETICphonetics, counts, readability, n-grams

The symbols must be visible while StringKitHelper.pas is compiled. A {$DEFINE} only inside an application source file does not recompile a separately built helper unit. See Static API vs helper API and Helper coverage.