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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Some Commands!!!

Status
Not open for further replies.

paulk29

Technical User
Jul 15, 2003
113
Hi again,
still a beginner here, can I ask you what is the difference between the commands "strfmt" and strcat", and where and when they should be used? I looked at the help file in Procomm but it wasn't very clear.
Thanks
Paul
 
Strcat is used to combine two strings into one string. Strfmt could be used to perform the same task, but it also lets you create one string with pre-defined text and more than one variable (and the variables do not have to be strings). If you ever have to create an output string that is composed of a message that never changes (such as a constant header) and uses more than one variable, then strfmt is the way to go.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top