-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Semicolon in formulas replaced with | #27
Comments
Hello Thank you in advance |
Hello <c r="B1" t="str">
<f>CONCATENATE(A1,";",A2)</f>
<v>a;b</v>
</c> output: a;b However, a general string sanitizing would lead to: <c r="B1" t="str">
<f>CONCATENATE(A1,",",A2)</f>
</c> Output: a,b So, we cannot go with this solution (PR cannot be merged, sorry). Currently, there is no good solution for this. We have probably to look directly into the AddCellFormula / AddNextCellFormula functions. However, a general replacement of |
Thank you for your time. That seems reasonable, and perhaps trying to fix this is the wrong way to go about it. There's a number of edge cases, eg. triple quotes, that make this hard to solve this in a correct and simple way. I found that the easy workaround for was to just use commas in the formula passed to AddCellFormula. I guess the primary issue here was, that I was not aware that would work. So perhaps adding a formula such as the one below, would be a good way to avoid users running into the problem.
I definitely spent a bit of time trying to figure out why the formulas I wrote did not translate as I expected, even though this it may seem obvious in hindsight. |
Hello |
Semi-colon does not seem to work in formulas.
Added a fix in #26 - Thank you for your efforts with this library!
The text was updated successfully, but these errors were encountered: