Mega Code Archive
Categories
/
Php
/
Strings
Truncating a string with substr()
print substr("this is a test", 0, 3); print '...'; ?>