Suppose $0\rightarrow A\rightarrow B\rightarrow C\rightarrow 0$ is a short exact sequence that $B\simeq A\oplus C$ as a $R$-module. Does this short exact sequence split?
I think the answer is no, but I must have a counterexample. I could not find any. Can you help me?