Highlight in SMS excerpt

Asked

Viewed 1,126 times

-1

I would like to know if there is any way to send an SMS, and leave a highlighted part of the text so that the user can copy. For example, the digitable line of a billet.

2 answers

0

As far as I know, text messaging protocols don’t support text formatting. The reason for this is that each device can have different treatments for the texts it receives. This has never been unified (unlike things like email and MMS), so text in bold or italics on one device could appear with characters foreign to the user on another device.

If you need to use SMS, the best way is to do as VIVO does. It sends messages like:

Your invoice can already be paid, use the code:

XXXXX XXXXX XXXXX XXXXXX XXXXX XXXXXX X XXX

The only "highlights" are line breaks. On any Android or iOS phone, it is trivial for the user to select the barcode and copy to paste into an instant message or Internet Banking.

  • I used the break line, but it copies the whole text of the message yet...

  • @Luizfernando then the problem is the read application, not the message itself.

0

I also couldn’t just copy the SMS code.

The solution I found was to insert the code in quotes.

So all the bank apps I tested interpreted only the value that was in quotes.

The message I sent got like this:

Company A: Copy this SMS and paste it into your bank’s APP to payment: "99999.75021 48600.000000 56224.501017 1 77310000079009"

Browser other questions tagged

You are not signed in. Login or sign up in order to post.