function s_digits_count_test ( )

%*****************************************************************************80
%
%% s_digits_count_test() tests s_digits_count().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 September 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 's_digits_count_test():\n' );
  fprintf ( 1, '  S_DIGITS_COUNT counts the digits in a string.\n' );
  fprintf ( 1, '\n' );

  s = '34E94-70.6';
  n = s_digits_count ( s );
  fprintf ( 1, '  We count %d digits in "%s"\n', n, s );

  s = 'Not a one!';
  n = s_digits_count ( s );
  fprintf ( 1, '  We count %d digits in "%s"\n', n, s );

  s = '%8*k >>>> # SEVEN-0.3';
  n = s_digits_count ( s );
  fprintf ( 1, '  We count %d digits in "%s"\n', n, s );

  return
end
