Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Substitute text in Table' topicStudent Support Forum > General > Archives > "Substitute text in Table"

Next Comment >Help | Reply To Topic
Author Comment/Response
05/11/12 00:49am

I have a Table with thousands of rows. In the first field I have text followed a number. For example,

{{abc1, 2, 5},{abc3, 2, 2},{abc3, 6, 4},{abc4, 8, 1},{abc20, 12, 9}}

Is there a simple function that will delete "abc" from every element, leaving the number by itself, i.e.

{{1, 2, 5},{3, 2, 2},{3, 6, 4},{4, 8, 1},{20, 12, 9}}

For unix users, I'm essentially trying to globally substitute "abc" for nothing (sed 's/abc//g')

URL: ,

Subject (listing for 'Substitute text in Table')
Author Date Posted
Substitute text in Table Chris 05/11/12 00:49am
Re: Substitute text in Table toen 05/11/12 10:29pm
Re: Substitute text in Table Bill Simpson 05/11/12 11:18pm
Next Comment >Help | Reply To Topic