--- a/Documentation/Source/eric6.Globals.__init__.html Sun Jan 17 15:15:15 2016 +0100 +++ b/Documentation/Source/eric6.Globals.__init__.html Sat Jan 23 16:21:23 2016 +0100 @@ -64,6 +64,9 @@ <td><a href="#setConfigDir">setConfigDir</a></td> <td>Module function to set the name of the directory storing the config data.</td> </tr><tr> +<td><a href="#strGroup">strGroup</a></td> +<td>Module function to group a string into sub-strings separated by a separator.</td> +</tr><tr> <td><a href="#toBool">toBool</a></td> <td>Module function to convert a value to bool.</td> </tr><tr> @@ -213,6 +216,36 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> +<a NAME="strGroup" ID="strGroup"></a> +<h2>strGroup</h2> +<b>strGroup</b>(<i>txt, sep, groupLen=4</i>) +<p> + Module function to group a string into sub-strings separated by a + separator. +</p><dl> +<dt><i>txt</i> (str)</dt> +<dd> +text to be grouped +</dd><dt><i>sep</i> (str)</dt> +<dd> +separator string +</dd><dt><i>groupLen</i> (int)</dt> +<dd> +length of each group +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +result string +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="toBool" ID="toBool"></a> <h2>toBool</h2> <b>toBool</b>(<i>value</i>)