Quintiq file version 2.0 #parent: #root Method FormatPath ( output String path ) id:Method_DialogImportProfile_FormatPath { #keys: '[132894.0.431078977]' Body: [* // append path with "\" if ( path.TrimBoth().Length() >0 ) { lastchar := path.SubString( path.Length() - 1, 1 ); if ( lastchar <> "\" and lastchar <> "/" ) { path := path + "\"; } } *] }