Converting between strings and lists of characters. This gives a list of the characters in the string. You can apply standard list manipulation operations to this list.
Mathematica handles many different kinds of things: mathematical formulas, lists, and graphics, to name a few. Although they often look very different, Mathematica represents ...
If you have special-purpose programs written in C or Fortran, you may want to take formulas you have generated in Mathematica and insert them into the source code of your ...
Just as the equation x^2+3x==2 asserts that x^2+3x is equal to 2, so also the inequality x^2+3x>2 asserts that x^2+3x is greater than 2. In Mathematica, Reduce works not only ...
In many kinds of calculations, you need to set up "arrays" that contain sequences of expressions, each specified by a certain index. One way to implement arrays in ...
Much of what Mathematica does revolves around manipulating structured expressions. But you can also use Mathematica as a system for handling unstructured strings of text. ...
Mathematica's core tree-oriented symbolic language makes it well suited to working with a hierarchical view of C code as Mathematica expressions. This supports the use of the ...
Introduction to MathLink How MathLink Is Used Installing Existing MathLink-Compatible Programs
General Mathematica patterns provide a powerful way to do string manipulation. But particularly if you are familiar with specialized string manipulation languages, you may ...
SparseArray[{pos_1 -> val_1, pos_2 -> val_2, ...}] yields a sparse array in which values val_i appear at positions pos_i. SparseArray[{pos_1, pos_2, ...} -> {val_1, val_2, ...