Skip to content

string_comparen

Declaration

string_comparen :: fn (first: string, second: string, n: s32) bool

Description

Compare two strings in specified range and return true if they are same otherwise return false.

Arguments

  • first First string to be compared.
  • second Second string to be compared.
  • n Count of characters to be compared.

Result

Return true if n characters in first string are same as the same range in second string.

Declared in: string.bl