Remove leading and trailing spaces in title
See original GitHub issueWhen adding new images through the app it happens that the caption ends with a space. This is then used for title/filename and produces ugly links. Please run a .trim()
before uploading.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Removing Leading and Trailing Spaces in Excel & Google Docs
The most obvious (and generally efficient) method for removing both leading and trailing space is to use the TRIM() function. As stated in...
Read more >How to remove leading and/or trailing spaces of a string in T ...
Use the TRIM function if you want to trim a string in a table. This function allows you to remove a specific character...
Read more >TRIM: Removing Leading and Trailing Occurrences
The TRIM function removes leading and/or trailing occurrences of a pattern within a character string. ... The TITLE field has trailing spaces.
Read more >5.12. Trim Leading and Trailing Whitespace - O'Reilly
Removing leading and trailing whitespace is a simple but common task. The regular expressions just shown contain three parts each: the shorthand character...
Read more >How to remove leading and trailing spaces in Excel cells?
Method A: Remove all extra spaces from strings with the TRIM function (2 steps) Remove all excess spaces including extra space, leading and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shubhamshah14102 It is yours, thanks! Please let us know about your progress every few days 🙂
Sure, what do you want to know?
When using autocomplete to type a title, my keyboard will add a trailing whitespace (which is not obviously recognized by the user). When trying to upload it will fail or hang without any proper error message.