Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Replace sub string in matlab database

Subject: Replace sub string in matlab database

From: kainat ali

Date: 26 Feb, 2013 08:15:03

Message: 1 of 1

I know how to update a record and replace a sub string in another string:

update(conn,'tableName',{'columnName'},{'value'},'where columName=xx') %update record in database

modifiedStr = strrep(origStr, oldSubstr, newSubstr) %replaces substring with new string in another string.

Now i want to mix these two and change substring of a record in the database. How can we do that?

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us