Real simple question... for good programmers
WhatMeWorry
kheaser at gmail.com
Sat Oct 22 21:53:05 UTC 2022
string[] tokens = userSID.output.split!isWhite;
writeln("tokens = ", tokens);
tokens = ["SID", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "S-1-5-21-3823976785-3597194045-4221507747-1779", "",
"", "", "", "", "", "", ""]
Is there a clever way that I can discard all the extra null
strings in the resultant string array?
I've been playing with isControl, whitespace, etc. Ready to rip
my hair out.
More information about the Digitalmars-d-learn
mailing list