Jump to content
Sign in to follow this  

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







"   this   "

"     is    "

"     a    "

"   test   "

How to do this ?

Thanks for any help

Share this post

Link to post
Share on other sites

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

It's here:


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:

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.