Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Extract filenames and ext. from cell array of strings

Language: Layout:
+ ] Show input
Absolute running time: 2.14 sec, cpu time: 2.33 sec, memory peak: 170 Mb, absolute service time: 2,15 sec  
latest |  history
fns = 
{
  [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