Thanks, copeg. I think I get it!
It isn't an error to not find a result, but I hadn't thought to just return null.
And thanks for the welcome, JavaPF
Type: Posts; User: whity
Thanks, copeg. I think I get it!
It isn't an error to not find a result, but I hadn't thought to just return null.
And thanks for the welcome, JavaPF
Firstly, hi! First time posting here [if this is the wrong area sorry!].
Basically I'm searching through an array of objects and comparing strings. If there's a match (there can only be a single...