Just to expand on @AlexBecker's answer above.
Let's say we have a long exact sequence of $A$-modules
$$\dots \to M_{i-1} \xrightarrow{f_i} M_i \xrightarrow{f_{i+1}} M_{i+1} \dots$$
If we let $N_i = \operatorname{Im}(f_i) = \operatorname{ker}(f_{i+1})$ for each $i$, then we obtain (for each $i$) a short exact sequence $$0 \to N_i \xrightarrow{\iota} M_i \xrightarrow{\pi} M_i / N_i \to 0 \ \ \ \ \ \ \ \ \ (*)$$
where $\iota : N_i \to M_i$ is the inclusion map and $\pi : M_i \to M_i/N_i$ is the canonical epimorphism. It shouldn't be too hard to prove that the above sequence is exact.
Now since $N_{i+1} = \operatorname{Im}(f_{i+1})$, by the first isomorphism theorem we have that $M_i/\operatorname{ker}(f_{i+1}) \cong \operatorname{Im}(f_{i+1}) \iff M_i/N_i \cong N_{i+1}$. If we let $f : M_i/N_i \to N_{i+1}$ be this isomorphism then letting $\pi' = f \circ \pi$ we obtain a short exact sequence
$$0 \to N_i \xrightarrow{\iota} M_i \xrightarrow{\pi'} N_{i+1} \to 0 \ \ \ \ \ \ \ \ \ (**)$$
which we can then rewrite by definition of the $N_i$'s as
$$0 \to \operatorname{Im}(f_i) \xrightarrow{\iota} M_i \xrightarrow{\pi'} \operatorname{Im}(f_{i+1}) \to 0 \ \ \ \ \ \ \ \ \ (**)$$
Now here's a Lemma that we will use below
Lemma: If we have $A$-modules $M, M', M''$, then $0 \to M' \xrightarrow{f} M \xrightarrow{g} M'' \to 0$ is exact $\iff$ $f$ is injective, $g$ is surjective and $g$ induces an isomorphism of $\operatorname{Coker}(f)$ onto $M''$
Replacing $\pi'$ in the exact sequence $(**)$ by $\pi''$ which is the isomorphism induced by $\pi'$ of $\operatorname{Coker}(\iota)$ onto $N_{i+1}$ we obtain the following short exact sequence
$$0 \to \operatorname{ker}(f_{i+1}) \xrightarrow{\iota} M_i \xrightarrow{\pi''} \operatorname{Coker}(\iota) \to 0 \ \ \ \ \ \ \ \ \ (***)$$
So these are three ways (up to isomorphism of a term in the sequence) of splitting a long exact sequence into a short exact sequence.