Peter continues talking about the prophets' search for salvation.
Possible meanings are 1) "trying to learn" or 2) "trying to make known."
This is a reference to the Holy Spirit.