Bogart was far too old to have served in WWII, but if memory serves he was in the US Navy during WWI. How he got the lisp is a subject of much conjecture and many versions of truth. I don’t think Bogey was too forthcoming about the details.
OK. Didn’t google it, just going off an aging memory. Just one of those DVD extras that I got it from.