Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
Extract filenames and ext. from cell array of stringsfns = { [1,1] = /usr/local/foo.lib [1,2] = ~/baz.m [1,3] = home/rms/eula.txt [1,4] = bar.m } ans = { [1,1] = foo.lib [1,2] = baz.m [1,3] = eula.txt [1,4] = bar.m } Andy_sol = 0.010036 ans = { [1,1] = foo.lib [1,2] = baz.m [1,3] = eula.txt [1,4] = bar.m } Usama_sol = 1.7715e-04 |
λ
.NET NoSQL database for rapid development
|