String is reformatted unexpectedly when it's displayed in clipboard

String is reformatted unexpectedly when it’s displayed in clipboard, e.g. extra space btw words will be deleted

e.g. what .FirstName is set value:a.png

when it’s displayed in clipboard

b.png

similar problem when a string displayed in tracer/page content window.

May I know why? Thanks.

@MaxonL16591286 Reason is extra spaces will get trimmed.

@MaxonL16591286

Actually the data is NOT getting altered, only it is displayed on UI differently.

You can verify it yourself using Clipboard tool :

Open Clipboard > Goto the Page that holds that property value > Click on Edit button on right top corner.

With that said, it’s a UI bug in my view. Pega should display the data AS-IS.

Thanks

@Nirmalya.SenSharma

Yes, Edit button can show the real value of the string.

Agree this should be a bug, it’s very confusing when we do debugging.

Thanks a lot.