Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Adding spaces to text field. |
Post Reply ![]() |
Author | |
zbrd ![]() Beginner ![]() Joined: 25 Oct 09 Location: Indiana, USA Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 13 Nov 09 at 1:48PM |
I know this should be simple, but I can't figure it out.
I'm using Delphi and QPDF 7.15.
I want to simply add spaces to a text string. Everything I try simply gets ignored and the string is formatted with only 1 space. Example:
'Hello World ' + 'Nothing to say'
Shows up as:
Hello World Nothing to say
I have tried the Chr(20), concatenating spaces in fields and still just 1 space.
Any help would be appreciated.
|
|
![]() |
|
JanN ![]() Senior Member ![]() Joined: 29 Oct 05 Location: Germany Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() |
You could try the "other" space: Chr(160). Perhaps this works.
|
|
![]() |
|
zbrd ![]() Beginner ![]() Joined: 25 Oct 09 Location: Indiana, USA Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Excellent, that worked great. Thanks for the help!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store