216    {
  217        string dial_text;
  218        
  220        {
  222            
  223            
  225            for ( int i = 0; i < length_diff; ++i )
  226            {
  227                combination_text = "0" + combination_text;
  228            }
  229            
  230            
  232            {
  234                {
  235                    dial_text += 
string.
Format( 
"[%1]", combination_text.
Get( j ) );
 
  236                }
  237                else
  238                {
  239                    dial_text += 
string.
Format( 
" %1 ", combination_text.
Get( j ) );
 
  240                }
  241            }
  242        }
  243 
  244        return dial_text;
  245    }
CombinationLock m_CombinationLock
proto native int Length()
Returns length of string.
proto string Get(int index)
Gets n-th character from string.
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.