Why does this happen? If there are only 5 characters in that string, why is the count function returning one more? Also, is there a more effective way of counting characters in a string?
Thomas Weglinski
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Thomas
Contact Thomas, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack