New answers tagged strings
4
votes
A simple method for compressing white space in text (Java) - Take II
Readable. (A big plus in my book.)
Verbose. I find what benefits I see unconvincing.
(Given the ease of copies, the typo // Scan empty suffix is any: is strange.)
I'...
5
votes
Accepted
A simple method for compressing white space in text (Java) - Take II
For exhaustiveness, I'd probably suggest your test if loIndex equals hiIndex should test to see if the former is greater than or ...
7
votes
Accepted
A simple method for compressing white space in text (Java)
Simplicity
It strikes me that the simplest method to do this is to leverage the standard library. You will want to learn how to use regular expressions. Your effort will be rewarded.
...
4
votes
Simple random password generator in c#
The public interface of this password generator is bizarre. It exposes three different ways to return passwords that are not obvious in usage:
You can enumerate the ...
Top 50 recent answers are included
Related Tags
strings × 2976java × 644
python × 490
c × 415
c++ × 414
performance × 377
algorithm × 359
beginner × 326
c# × 320
programming-challenge × 217
javascript × 216
python-3.x × 136
parsing × 133
array × 127
regex × 125
interview-questions × 102
formatting × 98
php × 87
reinventing-the-wheel × 87
c++11 × 72
comparative-review × 66
search × 65
file × 61
ruby × 56
random × 55