Tagged Questions
5
votes
2answers
188 views
Replace asterisk with nothing in string
I have a function which grabs cells out of a table and returns them. Many of these cells end with two asterisks, and I would not like these returned from the function if they are present. For ...
6
votes
1answer
1k views
Replacing a substring
I've got a string like this: aXYbXYc, and need to replace the XY substring with a right arrow: a $\to$ b $\to$ c.
Is there any function (also provided by external packages) to help me do that?