Driver Code
static void Main ( ) { string str1 = " geeksforgeeks " ; string str2 = " geegeeksksfor " ; if ( targetstring ( str1 , str2 ) ) Console . Write ( " YES " ) ; else Console . Write ( " NO " ) ; } }