i'm writing c# extension methods dealing string parsing, , terse yet descriptive , accurate in method names.
question: there word or phrase describes opposite of white space?
to clear, set of characters visible , consume ink if printed on paper. don't care use terms related ink, paper, or printing, nor want assume particular colors.
visiblecharacters seems technically accurate bit long.
nonwhitespace seems double negative me. i'd rather deal in is, rather not.
thanks.
i went word "glyph", , called function hasglyph.
it seems correctly cover characters readable, visible , printable; not refer white-space or control characters. doesn't assume character being displayed graphically or being printed. doesn't assume color. covers letters, numbers, , shapes.
plus, short name.
http://en.wikipedia.org/wiki/glyph
in case you're curious, extension method:
public static bool hasglyph(this string value) { if (string.isnullorwhitespace(value)) return false; // todo: not 100% sure if opposite of isnullorwhitespace method covers want, enough until find out otherwise. return true; }