PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, October 26, 2022

[FIXED] Why does copying multi-row text from Google Sheets to the Instagram caption box add a quote mark at the beginning and end of the text?

 October 26, 2022     copy-paste, google-sheets, instagram     No comments   

Issue

This may be the most niche question ever but let's try it anyway.

I have a Google Sheets spreadsheet that contains cells with multiple lines of text. Each line of text is separated by a soft break.

As shown below, when I copy the contents of a cell (row 2 in the screenshot) from the Google Sheets app to the Instagram caption box, a quote mark is added to the beginning and end of the caption.

Sample spreadsheet data

Instagram caption

If I copy the contents of a cell and that cell has only a single line of text (row 3 in the screenshot), no quote mark is added.

enter image description here

I am using an iPhone 11 running the latest version of iOS.


Solution

The extra quotes are added when there are special characters in the cell. In your scenario, the Line Feed characters are causing this. Definitely annoying.

There is a way around this – using Carriage Return characters, rather than Line Feeds to separate each line. For some reason these characters don’t cause the quotation marks to appear.

One thing you can do in your sheet is to create a helper cell that will take your text, and replace the line feeds with carriage returns (assuming your input text is in cell A2, add this formula to an empty cell):

=SUBSTITUTE(A2,char(10),char(13))

The output for this will look like it doesn’t contain linefeeds, but when you copy & paste from that cell, the linefeeds will be there in the pasted text, without the extra quotation marks.



Answered By - Mischinab
Answer Checked By - David Marino (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing