I want to format a long text to something shorter for a title.
i.e.
"There was once upon a time a little software called Corona it was the greatest software of all time and every one loved it. "
To
“There was once upon a time a litt…”
How do I do this with string. format?
Thanks [import]uid: 8192 topic_id: 9942 reply_id: 309942[/import]
how about this ??
print(string.sub("There was once upon a time a little software called Corona it was the greatest software of all time and every one loved it. ",
1, 33)) [import]uid: 12482 topic_id: 9942 reply_id: 36249[/import]
You are Genius!!! Thank you so much.! [import]uid: 8192 topic_id: 9942 reply_id: 36252[/import]
whoooo thanks man
[import]uid: 12482 topic_id: 9942 reply_id: 36405[/import]