Longest Word in String - 16 lines source = Whopping 23K Executable!


/ Published in: Pascal
Save to your folder(s)

I compiled this 16 line program with freepascal , and it was 23K ! Zouhair Tele asked :
Count the number of words in a given string. Word is a sequence of characters separated by spaces or punctuation marks (dot, comma, semicolon, colon).
For example: the string “abc d, efg,..hijkl.mno” - 5
Working with Strings
please can you help me with this

URL: pastebin.ca/2496436

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.