getFirstCharPos

long
getFirstCharPos
(
const string value
)

Examples

Get the position of the first non ws char

"  \r\n\r\n\r\n".getFirstCharPos.should.equal(-1);
"  \r\n\t".getFirstCharPos.should.equal(-1);
" b \r\n\r\n\r\n".getFirstCharPos.should.equal(1);

Meta