Questions on the manipulation of String objects in Mathematica, and the functions used for these manipulations.

learn more… | top users | synonyms (2)

0
votes
2answers
143 views

Exctrating data information from a file.txt

I really did previous long search in the site and I couldn't find any answer that might help me. So I am asking it. I have the following data set, ...
3
votes
1answer
44 views

How can I lookup the grammatical type of a word?

It seems WordData isn't complete: ...
0
votes
1answer
67 views

How to fill a Marshal buffer with whitespace using NETLink

Further to Todd Gayley's answer on string handling in a DLL function, I have the following code: ...
8
votes
0answers
203 views

How to convert a notebook cell to a string retaining all formatting, colorization of identifiers etc?

I have an opened Mathematica notebook containing several cells. Suppose, I am interested in one of them -- it may contain a complete or incomplete expression (e.g. with syntax errors, highlighted ...
4
votes
0answers
70 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: ...
3
votes
0answers
59 views

Is it possible to Compile the function with string argument?

As we can see from the Compile documentation, the typical arguments for Compile should be ...
3
votes
0answers
75 views

Copy string with markup so it looks good on input

How can I copy a string with a bunch of *Box expressions without it blowing up into the raw expression? ...
3
votes
0answers
129 views

Unicode beyond Basic Multilingual Plane

String manipulation takes a dive when characters beyond \:FFFF are used e.g. Mathematical Alphanumeric Symbols. The characters display fine but doing string ...
1
vote
0answers
66 views

Geodesy without units?

Suppose I'm interested in the latitude of Los Angeles and I do the following: ...
1
vote
0answers
102 views

Split one string about a fixed width with `SyntaxQ=True`

How to split one string about a fixed width, the string may come from the input or output cell of Notebook. sample string ...
0
votes
0answers
23 views

Error when converting a string involving superscript after closing square bracket using ToExpression

I would like to store a piece of code in the form of a string, make some string transformation to it and get the new code evaluated using ToExpression. Everything works just fine but one: if there is ...
0
votes
0answers
52 views

importing a file with asterisk in its name (Linux machines)

I am trying to import a file: ...
0
votes
0answers
41 views

StringCount in Mathematica

StringCount["one letters three letters letters one letters letters three letters", "one" ~~ __ ~~ "three"] gives 1 because ...
0
votes
0answers
75 views

Read in bezier curve from svg file

I am trying to do some calculation of some svg file,After read in with Import["filename","XML"]and some easy operation, I can get the string of the bezier curve, ...