API Reference > bentleyjs-core > Utils > compareStrings compareStrings Function compareStrings(a: string, b: string): number Parameter Type Description a string b string Returns - number Defined in core/bentley/src/Compare.ts Line 51 Last Updated: 11 June, 2024