/** * Copyright: Copyright (c) 2012 Jacob Carlborg. All rights reserved. * Authors: Jacob Carlborg * Version: Initial created: Aug 1, 2012 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) */ module mambo.text.Inflections; string pluralize (string str, size_t count = size_t.max) { return count == 1 ? str : str ~ 's'; }