Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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. ...
Milk's user avatar
  • 1,768
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: ...
Mr.Wizard's user avatar
  • 273k
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 ...
Kuba's user avatar
  • 138k
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 ...
garej's user avatar
  • 4,885
8 votes
1 answer
175 views

String matching problem/bug

I expected this code below to evaluate to True (it does evaluate to False): ...
Miyamoto's user avatar
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 ...
Kuba's user avatar
  • 138k
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 ...
Alexey Popkov's user avatar
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 ...
masterxilo's user avatar
  • 5,779
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 ...
arax's user avatar
  • 1,851
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.
xslittlegrass's user avatar
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 ...
MikeLimaOscar's user avatar
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 - ...
kale's user avatar
  • 11k
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 ...
rhermans's user avatar
  • 37.4k
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 ...
Sjoerd C. de Vries's user avatar
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: ...
István Zachar's user avatar
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 ...
Alexey Bobrick's user avatar
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 ...
Martin J.H.'s user avatar
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 ...
RunnyKine's user avatar
  • 33.3k
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: ...
RunnyKine's user avatar
  • 33.3k
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): ...
mrupp's user avatar
  • 777
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: ...
Mr.Wizard's user avatar
  • 273k
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 ...
Vladimir Reshetnikov's user avatar
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: ...
Aart Goossens's user avatar