All previous examples will raise an exception in case your string is not long enough. Another approach is to use 'yourstring'.ljust(100)[:100].strip(). This will give you first 100 chars. You might get a shorter string in case your string last chars are spaces. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.