Author Topic: sprintf()  (Read 5146 times)


  • Community Member
  • Posts: 22
  • Hero Points: 3
« on: September 02, 2006, 06:29:19 am »
I'm taking a stab at actually making some useful forms for a local project with Slick-C. I'm immediately struck by the pain of not being able to find a sprintf()-like function for quickly producing precisely formatted strings from a variety of variable types.

Is there any function like that around that I've just missed?


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3440
  • Hero Points: 465
Re: sprintf()
« Reply #1 on: September 22, 2006, 01:33:53 pm »
Usually there's not much of a need, since Slick-C has implicit string concatenation, but the answer to your question is nls().  Why is it named nls()?  Because snl() was already taken by a popular telivision series.  :P