Thanks for this, but what what I wanted was something to work like this
<snip>
strName="Fred"
strHomeTown="Smallville"
strOutput = Sprintf("My Name is %s, and I come from %s", strName, strHomeTown)
</snip>
which would result in strOutput having the value
My...
Can anyone help? I am trying to find a way of easily inserting a value into a string, in a similar manner to the c sprintf function. (Old habits die hard!!)
Lots of good sys admin stuff on the MS Technet
try this for info on printers
http://www.microsoft.com/technet/scriptcenter/scrguide/sas_prn_overview.asp
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.