All Questions
Tagged with string-manipulation bugs
23 questions
4
votes
1
answer
232
views
How to execute a String code in the form of StandardForm?
How to execute a String code in the form of StandardForm?
I want to get execution results for strings of various forms. For this, I used ToExpression.
...
2
votes
0
answers
67
views
Bug with TeXForm conversion of superscript in strings [duplicate]
Bug introduced in 10.0 or earlier and persisting through 11.3
Consider a String expression with a TemplateBox superscript:
...
6
votes
1
answer
147
views
Encoding strings to workaround CloudDeployment bugs
Bug introduced with FormFunction and persisting through Cloud V1.48
CASE:4026150 confirmed
There are few problems when deploying simple ...
7
votes
1
answer
484
views
Problem to import numbers longer than 19-digit with "JSON" or "RawJSON"
Bug introduced in 11.0.1 or earlier and fixed in 12.0.
MMA 11.0.1.0 (Windows 10, 64-bit)
I see that "JSON" import can be buggy (154245), so my question is simple: can the following behaviour be ...
8
votes
1
answer
175
views
String matching problem/bug
I expected this code below to evaluate to True (it does evaluate to False):
...
11
votes
1
answer
178
views
TextString evaluation leak
Bug introduced in 10.4 or earlier and persisting through 11.3
[...] I checked and reproduced your issue, and have passed along a report to our developers on the same [...]
CASE:3972929
...
5
votes
1
answer
375
views
A bug in converting some Unicode characters into FullForm?
Currently I know only one well-documented way to convert all special characters in an arbitrary string into their FullForm:
In ...
9
votes
0
answers
110
views
Probable bug in Export(String) and "String" format
Bug introduced in 6.0 and persisting through 11.0.0 or later
...
7
votes
1
answer
168
views
StringTemplate doesn't work with negative numbers
Bug introduced in 10.4 or earlier and fixed in 12.0
Bug isn't present in version 10.0.1
I'm using Mathematica 10.4 on Windows 7 and I found out that
...
13
votes
0
answers
90
views
StringTemplate gives wrong answer [duplicate]
Consider this:
StringTemplate["``"][-0.9999995]
(*"-0.1"*)
Is this a bug?
I'm using version 11.0 on OS X 10.11.6.
6
votes
1
answer
429
views
Entering NULL characters in a string
Bug fixed in 12.3 or earlier
This question is about parsing files that contain nulls (character code zero) as field separators.
Intending to attempt to answer this I began by trying to enter a string ...
7
votes
2
answers
180
views
Strange Error on Fresh Kernel (10.2)
Bug introduced in 10.1
I wrote a helper function to format real numbers in a certain format for writing .dbf files here. It relies on a new function to 10.1 - ...
17
votes
2
answers
303
views
Mma 10.2 `Alphabet` and `LanguageData` give different and both erroneous list of letters
Bug introduced in 10.2 and fixed in 10.3
The new function Alphabet introduced in Mathematica 10.2 gives the wrong list of letters for the Spanish language in my ...
7
votes
1
answer
188
views
Error when combining Except, "*" and an additional character
Bug introduced in 5 or earlier and persisting through 12.0
Anyone knows why
...
36
votes
2
answers
940
views
String-manipulation bugs in v10.1
Introduced in 10.1, fixed in 10.2; fixed via paclet update in 10.1.
The new version 10.1 has introduced some strange (possibly buggy) behaviour compared to v10.0:
...
7
votes
1
answer
502
views
Extra spaces when exporting strings into pdf (bug, linux)
Rationale: Imagine you would like to create a publication quality figure in Mathematica, from under Linux. Naturally, it will contain text/labels.
Problem: Here is a simple string ...
21
votes
2
answers
678
views
Why is TextString[-0.5] a positive number?
Bug introduced in 10.0 and fixed in 10.0.2
I want to format numbers in decimal notation and chose TextString for this task. But today, when looking at the final ...
17
votes
2
answers
239
views
Bug in Operator Form of StringCases
fixed in 10.1 (windows)
According to the documentation there's an operator form for StringCases
?StringCases
Here is the ...
25
votes
1
answer
342
views
StringCases is Confused with Patterns in Version 10.0.1
Bug introduced in 10.0.1 and fixed in 10.0.2
I observed the following with StringCases when trying to use rules/patterns. Here is a screenshot of the behavior:
...
8
votes
1
answer
202
views
Simple string pattern crashes kernel
Bug introduced in 6.0 or earlier and fixed in 10.1.0
The following code crashes my Mathematica kernel (v9, MacOS):
...
4
votes
0
answers
131
views
Error with String patterns producing Removed["$$Failure"]
While working on How to capitalize the first letter of each word in a string and trying to understand why certain characters were not considered letters I tried this:
...
13
votes
2
answers
1k
views
How to embed an image into a string?
Note: The bug described in the post is in Mathematica 9, and has been fixed in 10.0.
The documentation for String contains the following statements:
Strings can ...
4
votes
1
answer
253
views
Strange behavior of DateList when converting string
DateList experiences some strange behavior which i cannot explain.
This code works fine:
...