Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5288 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a script that exports an image file from a container. The filename is created fron a couple fields, the last of which contains short notes and in some cases there may be return characters. The filename falls apart at the returns as you may have guessed. I was hoping someone could tell me how to replace returns in a field with another character?

Thanks

Posted

My preference would be to set a variable with the contents of the field, then parse out the "¶" in the variable before tacking it onto the file name.

Posted (edited)

My preference would be to set a variable with the contents of the field, then parse out the "¶" in the variable before tacking it onto the file name.

???Why the redundancy of messing with a variable, and what do you mean by tacking?

Never mind, misread, thought you were setting field, not an export parameter.

Edited by Guest
Posted

The field in question is a notes field. I would like to keep the format of the notes field as is including the "¶"s.

Posted

My preference would be to set a variable with the contents of the field, then parse out the "¶" in the variable before tacking it onto the file name.

Set Variable [ $var ; Value: Substitute ( LastField ; ¶ ; "another character" ) ]

This topic is 5288 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.