There are 4 PHP Functions we can use to remove whitespace characters from the beginning and/or the end of a string :
1. trim() – Remove white space characters from the beginning and the end of a string.
2. ltrim() – Remove white space characters from the beginning of a string.
3. rtrim() – Remove white space characters from the end of a string.
4. chop() – Same as rtrim().

Continue Reading Howto Remove Whitespace from String in PHP



Archives

Translation

  • Translation
    EnglishShqipالعربيةБългарскиCatalà中文(简体)中文(漢字)HrvatskičeštinadanskNederlandsEesti keelSuomiFrançaisGalegoDeutschΕλληνικάעבריתहिन्दी; हिंदीmagyarBahasa IndonesiaItalianoíslenska日本語우리말latviešu valodalietuvių kalbaMaltiNorskفارسیPolskiPortuguêsRomânăРусскийсрпски језикslovenčinaslovenščinaEspañolsvenskaTagalogภาษาไทยTürkçeУкраїнськаTiếng Việt
    by Transposh

Get Recent Updates

Enter your email:

Follow Me on Twitter

Buy me a cup of tea

Do you like my free service?
Why not buy me a cup of tea?
PayPal - The safer, easier way to pay online.

Links

Blog of the Day