Skip to content
KB Web Thoughts

KB Web Thoughts

  • About
  • KB Web Circles
  • Portfolio
  • Timeline

trim

Trim a string without cutting words in PHP

August 10, 2011 by admin

Often we require to trim/cut a string to desired length. Using a function is suggested as writing code again and would be tedious task. Below is the code of function by which we can cut a string to a desired length without cutting a word (optional) and including a desired symbol at the end of … Read more

Categories Web Development Tags cut string, PHP, string, trim, trim string Leave a comment

Recent Posts

  • List of Online Ecommerce Store Providers
  • MySQL Code for adding days, time to date column
  • Digital Door Bell Product Ideas
  • List of online Bookmark websites
  • List of online Unicode Converter websites

Recent Comments

  1. rahul on List of sites to create Profile Links quickly
  2. Himanshu Negi on Website similar and alternative to Alexa.com
  3. mycarzs on List of top Classifieds sites for website submission and promotion
  4. dineshsjce on List of sites to create Profile Links quickly
  5. pramod kumar on About
  • Link
  • Facebook
  • Twitter
  • YouTube
© 2025 KB Web Thoughts • Built with GeneratePress