How to use "hopefully" in a sentence

Sentences

"In time, hopefully

"Unless he crashed between here and there," Alexander said hopefully.