Easy to Create, Easy to Change - Easy to use!


Fill string to length with blanks


Started by Marco
Search
You will need to Sign In to be able to add or comment on the forum!

Fill string to length with blanks

I am creating a txt file using the TextOut and textoutln functio and would just like to know if there is a way to fill a field with blank until its length. Ex: Name (defined text 40) value = "Marco"

Written by Marco 13/11/13 at 10:32:04 DataEase 6.x

Re:Fill string to length with blanks

These functions are CDFs and there might be CDFs that do this but that is outside our "purview".

In DE8 there is internal functions for all of this.

http://www.dataease.com/dg3_HelpView/?PageID=13698&field1=*FixedWidth*

http://www.dataease.com/dg3_HelpView/?PageID=10327&field1=*WriteToFile*

Written by DataEase 13/11/13 at 10:32:48 Dataease [{8}]FIVE