util.stringctfe - ICE 0.1 API documentation

ICE 0.1 API documentation

# util.stringctfe

String functions used in CTFE.

string stripCtfe(string str);

  Replacement for std.string.strip, which can't be evaluated at compile time.

  Removes all leading and trailing spaces and returns resulting string.

  Parameters:

  string str | String to strip.

  Returns:
  Stripped string.
pure nothrow char toLowerCtfe(const char c);

  Convert a character to lowercase (if not lowercase already).

Copyright © Ferdinand Majerech 2011. | Page generated by AutoDDoc and Ddoc.