The ends with
keyword checks if a text ends with another text.
Syntax
text_a ends with text_b
text_array ends with text
Returns
Returns a boolean value that indicates if:
text_a
ends with anothertext_b
- any text in
text_array
ends withtext
The ends with
keyword checks if a text ends with another text.
text_a ends with text_b
text_array ends with text
Returns a boolean value that indicates if:
text_a
ends with another text_b
text_array
ends with text