in python , how to split string with certain condition?
<p>How can i tell python to search for certain character or certain letter in a string for example search for 'a' then look what follows it . if a 'b' follows 'a' then put '.' before the 'b' thus the result will be '.ba' while if any thing othere than 'b' follows 'a' then join them with 'a'</p>
