ASCIIString

ASCII-Only String

Constructors

this
this(string s)
Undocumented in source.

Alias This

s

Members

Functions

back
immutable(char) back()
Undocumented in source. Be warned that the author may not have intended to support it.
front
immutable(char) front()
Undocumented in source. Be warned that the author may not have intended to support it.
popBack
void popBack()
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

s
string s;
Undocumented in source.

Examples

import std.algorithm;
import std.range.primitives;
auto s = "タネなし手品";
auto asc = s.ASCIIString;
assert(s.front == 'タ');
assert(asc.front == "タ"[0]);
assert(s.back == '品');
assert(asc.back == "品"[$-1]);

Meta