Looking for some help ... I am trying to figure out why my substring test isn't working as I expect it to.
Looking for some help ... I am trying to figure out why my substring test isn't working as I expect it to.
For further actions, you may consider blocking this person and/or reporting abuse
Sospeter Mong'are -
Rigal Patel -
Vikas Singh -
Adedeji Michael -
Top comments (1)
I figured it out myself. Sort of. String.substring() doesnโt behave the way I expected it to. String.includes(substring) does the job.