137
rated 0 times
[
140]
[
3]
/ answers: 1 / hits: 17771
/ 10 Years ago, sat, september 13, 2014, 12:00:00
What is the best way to count how many spaces before the fist character of a string?
str0 = 'nospaces even with other spaces still bring back zero';
str1 = ' onespace do not care about other spaces';
str2 = ' twospaces';
More From » regex