Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Spaces of Integer defined lenght.

Status
Not open for further replies.

newdarkness

Programmer
Joined
Jan 31, 2005
Messages
4
Location
DK
I want to order an Output by creating spaces " " of different lenght before and after it. I could make a function for that, but I first wanted to know if there might be one allready.
 
I don't understand your question - especially in the HTML context where whitespace is ignored.
Please be a bit more specific in what you want to achieve.
 
I got an output like

" value"
" value"
" value"

I need the function which creates spaces of a lenght defined

function(" value", 20 - strlen(" value"))

the function has a name - which I need.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top