![]() Use the PHP trim() function to remove whitespaces or other characters from both ends of a string.Output: api/v1/posts Code language: plaintext ( plaintext ) Summary To remove the slashes ( /) from both ends of the URI, you can use the trim() function:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |