The full question is as follows.
Prove that every binary string of length $n$ can be split down into 2 substrings where string $S = A.B$ such that the number of $0's$ in A is equal to the number of $1's$ in B.
Example:
a) String $010010$ can be split as $01.0010$. The number of $0's$ in A is $1$ and the number of $1's$ in B is $1$ too.
b) String $11101000$ can be split as $1110.1000$
I am stumped, I don't know how to apply any of the classic proof techniques I usually use.
Proceed by induction.
(Or, $0$ can be split as $.0$, and $1$ as $1.$ having no $0$'s on the left side and no $1$'s on the right side.)
If $w_0=1$, we can use the same splitting as for $(w_1,\dots,w_n)$.
Similarly, if $w_n=0$, we can use the same splitting as for $(w_0,\dots,w_{n-1})$.
Finally, if $w_0=0$ and $w_n=1$, we can use the same splitting as for $(w_1,\dots,w_{n-1})$, as now both the count of $0$'s in $A$ and the count of $1$'s in $B$ are increased by one.