Monday, October 24, 2022

MATLAB String Functions

>> x="abcd"

x =

"abcd"

>> y=strtok(x,'c')

y =

"ab"

>> z=extractBefore(x,'c')

z =

"ab"

>>