| Author |
Comment/Response |
Bill Simpson
|
09/16/12 00:02am
In[1]:= x={{"This","is","the","first","sentence"},{"And","this","is","the","second"}};
Map[Rest,x]
Out[2]= {{is,the,first,sentence},{this,is,the,second}}
In[3]:= Select[Flatten[x],StringMatchQ[#, RegularExpression["[A-Z].+"]]&]
Out[3]= {This,And}
URL: , |
|