Quantcast
Viewing all articles
Browse latest Browse all 186

StringTake :Cannot take positions 1 through 1 in

Here is the code that aims to figure out first letter of each sentence in a string of text:

StringTake[StringTrim[StringSplit[WikipediaData["computers"],"."]],1] 

Image may be NSFW.
Clik here to view.
enter image description here

It will help to know what it means by the error in red displayed:

StringTake:Cannottakepositions1through1in.StringTake:Cannottakepositions1through1in.StringTake:Cannottakepositions1through1in.

Viewing all articles
Browse latest Browse all 186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>