Skip to main content

MoveString

MoveString sourceString, destDataFolderPath [newname ]

The MoveString operation removes the source string variable and places it in the specified location optionally with a new name.

Parameters

sourceString can be just the name of a string variable in the current data folder, a partial path (relative to the current data folder) and variable name or an absolute path (starting from root) and variable name.

destDataFolderPath can be a partial path (relative to the current data folder) or an absolute path (starting from root).

Details

An error is issued if a variable or wave of the same name already exists at the destination.

Examples

MoveString :foo:s1,:bar:        // Move string s1 into data folder bar
MoveString :foo:s1,:bar:ss1 // Move string s1 into bar with new name ss1

See Also

MoveVariable, MoveWave, Rename, Data Folders