Jump to content

Hidden Carriage Returns


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

Recommended Posts

Hi guys

I'm sending the BE_ExecuteSystemCommand provided by the BaseElements plugin. I get a result back, however there are no carriage returns (which would be displayed if I ran the commadn in cmd.exe). If I copy the result to the clipboard using BE_ClipboardSetText (format CF_Text) then paste the results in to notepad then the carriage returns are there.

What character is it using as the carriage return in the first place?

Thanks

Turns out it is unicode character 10 (line feed / LF). I used the following calc to sort:

Substitute ( $cmd; Char ( 10 ) ; ¶ )

Link to comment
Share on other sites

This topic is 1806 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.