I want to see if any of the strings I pass(num) starts with any of the values on my set
Ex. String num = 456987533;
Set<String> numValidator = new Set<String>{‘456’,’312’,762’};
Since my num starts with ‘456’ it should come back true.
How can I write this out?
StartsWith does not work because it is only comparing a string and not a set