Closed julochrobak closed 11 years ago
I've added a replace function which takes three arguments (as in the example above) and replaces all occurrences. I don't see any disadvantages with this approach since the values with spaces are not necessarily numeric, e.g. a file might have dates in the following format "17 08 2013".
Here is an example of input with three different values which contain only digits and spaces:
The result of this execution is:
If there is a tab-delimited file which contains this kind of strings there is no way for users to work with them as with numbers. The suggested solutions are:
implement function which can replace characters. It would allow users explicitly get rid of the spaces and therefore get the strings converted into numbers. The disadvantage is that a user would have to always call this function when working with any numeric attributes, for example: