Im having difficulty in deleting pre-specified characters from any given string. The characters that i am tryin to eliminate are 't' 'i' 'x' 'y'
I need a lot of help creating a function that would do this for any given string.
modstr('picture') should return ans = ('pcure')
modstr('alex') should return ans = ('ale')
I would appreciate any help or hints regarding this since i've been working on this for literally 6 hours now.
No products are associated with this question.
s='picture' % Example s(regexp(s,'[t,i,x,y]'))=