CatchmentSIM

String Editing Procedures

Hide Navigation Pane

String Editing Procedures

Previous topic Next topic No directory for this topic No expanding text in this topic  

String Editing Procedures

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

 

Combine ( Result Variable , Text / Value 1 , Text / Value 2 )

 

The Combine procedure will concatenate two text or numerical values (Text / Value 1 & 2) into one and store the result in a user variable (Result Variable).

 

 

ChangeExtension (Result Variable , Old Path , New Extension)

 

The ChangeExtension procedure will replace the extension of Old Path with the extension given in New Extension and store the result in a user variable (Result Variable). The New Extension should include the period / full stop symbol '.'.

 

Eg., ChangeExtension(&New_FileName, %Project.PathAndFileName, '.bmp')

 

 

GetFileNameFromPath ( Result Variable , Path , Keep Extension)

 

The GetFileNameFromPath procedure strips the relevant section of a file path to reveal the filename in accordance with the parameter listed below and stores the result in a user variable (Result Variable).

 

 

Parameter

Description

Accepted Values / Data Type

Keep Extension

Indicates whether to retain the path extension in the Result Variable or not.

WITH  or WITHOUT

 

 

AssignVariable ( Result Variable , Variable )

 

The AssignVariable procedure simply assigns a value from a project or user variable (Variable) to a user variable (Result Variable).

Comments (...)