Jump to content

String formatting question


Recommended Posts

I want center the text inside cells creted with _GUICtrlCreateTable

I need to add space before and after each string so the resuting lenght is always the same

"forecast"

"this"

"is"

"a"

"test"

"forecast"

"   this   "

"     is    "

"     a    "

"   test   "

How to do this ?

Thanks for any help

Link to comment
Share on other sites

Can't find _GUICtrlCreateTable in the help file, the newest beta help file, or doing a search.

It's here:

http://www.autoitscript.com/forum/index.ph...CtrlCreateTable

Anyway, my question is not strictly related to _GUICtrlCreateTable.

I'm sure I saw in the past the code to fill a string with space so the resulting lenght is always the same but I'm now unable to find it... :shocked:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...