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
Carrie -
Bhavesh Patel -
Nandani Sharma -
ng-news -
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.