Detect white spaces chars in the beginning of a string
<p>How can I detect a whitespace indentation in a string ?</p>

<p>I need to parse a CSS file: line by line.
Given that i have a line of CSS style: </p>

<pre><code>strong, b { font-weight: normal; color: #000; }
</code></pre>

<p>How can I extract that whitespace and save it into a variable?</p>
