@stringsplit()

Splits the given string using the given continuation character.

Syntax

@stringsplit (string,continuation_character)

Type

HyperMesh Template Function

Description

Splits the given string using the given continuation character. This is used in conjunction with the *field, *fieldleft or *fieldright commands.

Inputs

string
The string to split.
continuation_character
The character to use on the continuation line. If set to blank, no continuation character will be used.

Example

To split the string contained in the $eigvfile variable into a group of 60 characters, using no continuation character:

*field(string,[@stringsplit($eigvfile,)],60)

To split the string contained in the $eigvfile variable into a group of 60 characters, using + as the continuation character:

*field(string,[@stringsplit($eigvfile,+)],60)

Errors

None.

Version History

11.0.101