Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main() {
- var title = "Lorem Ipsum is simply dummy text of the printing and typesetting industry.";
- if( title.length > 20 ) {
- title = title.substring(0, 20) + "...";
- }
- print( title );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement