Simple Java program to convert all substrings from decimal to given base .
class GFG { static void substringConversions ( String str , int k , int b ) { for ( int i = 0 ; i + k <= str . length ( ) ; i ++ ) {