Driver code
public static void main ( String [ ] args ) { String S1 = " aabb " ; String S2 = " ab " ; if ( validInsertionstring ( S1 , S2 ) == true ) System . out . println ( " Yes " ) ; else System . out . println ( " No " ) ; } }