Determines whether the beginning of this string instance matches the specified string when compared using the specified culture.
![]()
true if the value parameter matches the beginning of this string; otherwise, false.
This method compares the value parameter to the substring at the beginning of this string that is the same length as value, and returns a value that indicates whether they are equal. To be equal, value must be an empty string (string.Empty), must be a reference to this same instance, or must match the beginning of this instance.
This method performs a comparison using the specified casing and culture.