Back to FabImage Library website

You are here: Start » Function Reference » All Functions » String » InsertToString

InsertToString


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: fil
Module: FoundationLite

Inserts a string into another one at the given position.

Syntax

void fil::InsertToString
(
	const ftl::String& inString,
	const ftl::String& inInsertedString,
	const int inIndex,
	ftl::String& outString
)

Parameters

Name Type Range Default Description
Input value inString const String&
Input value inInsertedString const String&
Input value inIndex const int 0 -
Output value outString String&

Errors

List of possible exceptions:

Error type Description
DomainError Index out of range in InsertToString.