Skip to main content

string.format() (MT4)


Replaces placeholders with values in a string.
 

Parameters

Name Type Description
text str string with placeholders
values any (optional) values to insert into string

Usage

The following table shows argument combinations and their outcome.

text values Result
nil   nil
""   ""
"Hi $0!" [ "Bob", "Charles" ] "Hi Bob!"
"Hi $first!" { first: "Bob", second: "Charles" } "Hi Bob!"

Related

Topics
Support plans
Review the type of support your MindTouch support plan covers and what to expect from our support agents.
Terminology
This document reviews terminology that is used within MindTouch that is unique to it.
What version of MindTouch am I using?
MindTouch has had five major releases over the years. Not sure which you are using? The table below and subsequent sections are your go-to source to ensure you are taking advantage of the right support and documentation. Note that early versions of MindTouch are deprecated and are no longer supported. This article identifies some key differences among the MindTouch major releases.
Manage users (MT4)
Learn how to manage your site's users with the MindTouch control panel, including creating, deactivating and editing users. You may also want to review our documentation on understanding user types in MindTouch. This guide is most useful for Administrators and Site Owners.
Authenticate via SSO (MT4)
Provide your users with a seamless MindTouch authentication experience via single sign-on (SSO).
Implement SAML SSO (MT4)
SAML (Security Assertion Markup Language) is an XML- and HTTP-based secure, industry-standard way to perform single sign-on (SSO) between online applications. MindTouch supports SAML out of the box which is the preferred way to integrate SSO for your users.
Implement SSO with the API (MT4)
This article describes the methods of enabling single sign-on between MindTouch and another authentication system.
Integrate chat (MT4)
Integrating chat with your MindTouch site will allow you to engage with your visitors to provide a better customer experience. These articles are most valuable Support Agents and Site Owners.
Integrate web analytics (MT4)
MindTouch provides integration with web analytics applications to provide additonal insight about your users and their interaction with your documentation. These articles are most useful for Subject Matter Experts, Content Managers and Site Owners.
Google Analytics (MT4)
Integrate Google Analytics with your MindTouch TCS site to get web analytics around your documentation.
Omniture (MT4)
Integrate Omniture with your MindTouch Help center to get web analytics around your documentation.
Webtrends (MT4)
Integrate Webtrends with your MindTouch TCS site to get web analytics around your documentation.
Integrate with your CRM (MT4)
Take advantage of all that MindTouch has to offer by integrating with your CRM.
CRM integration points (MT4)
Give the power of MindTouch to your sales, support and marketing teams.  GeniusLink provides easy-to-use instructions to add MindTouch to your CRM and ticketing system.
Integrate with SAP (MT4)
SAP provides an intuitive interface for your agents to interact with your customers through multiple channels including social media. Integrating SAP Knowledge Central by MindTouch with your SAP CRM will allow your agents to access automatic help recommendations in the SAP interface.
MindTouch integration points (MT4)
Give your customers, prospects and partners an interface to file tickets and suggest articles from MindTouch.
Integrate your marketing tools (MT4)
If you have a Marketing Automation solution, you can integrate it with your site to increase visibility into your prospect's and customer's interaction with your documentation. These articles are most useful for Administrators.
Integrate contextual help (MT4)
MindTouch contextual help allows application vendors to instantly add a contextual help system to their web applications. This guide shows you how to set up F1 contextual help for your site and customize the look and feel to match your brand.
Enhance with APIs (MT4)
Enhance your site with the MindTouch API documentation.
QuickStart Guide for Authors and Administrators
Welcome To MindTouch!  We are excited to assist you! This Quick Start Training Guide is designed to show you how to use and understand MindTouch.
Getting Started
Whether you're responsible for launching your MindTouch project, adding knowledge to your MindTouch site, or supporting and administering your MindTouch users, it important that you have the right information for the job. Our getting started guides are built to get you up to speed with the basics and they're specifically targeted for typical use roles.
Configuring Search Recommendations
Learn how to configure Search Recommendations within the MindTouch Control Panel to enhance your search experience. This video is 3:55 in length, was created on 7/12/2014, and is most useful for site owners.
Control Panel Part III: System Settings
Understand the various site-wide configurations including site privacy, adding custom styles to the editor, configuring Google Analytics, and other basic branding within the Control Panel, as well as manage deleted pages and files. This video is 7:51 in length and most useful forSite Owners.
Utilizing Reports
Understand how to utilize reports within MindTouch to track the progress of your documentation community. This video is 5:58 in length, was published on 7/9/2014, and is most useful for Site Owners.
References
Other
  • Was this article helpful?