Altova MapForce 2025 Enterprise Edition

Returns a string containing the first number characters of the input string.

mf-func-left

 

Languages

Built-in, C++, C#, Java.

 

Parameters

Name

Type

Description

string

xs:string

The input string.

number

xs:int

Specifies how many characters to return, starting from the beginning of the string.

 

Example

If the input string is This is a sentence and number is 4, the function returns This.

© 2018-2024 Altova GmbH