Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

This is a small technique for removing extra carriage from a list of values where the No of carriage is not constant.

 

For example ,

"1¶2¶3¶4¶4¶¶4¶¶¶¶5¶¶¶¶¶¶¶¶¶¶¶¶6" is the input and we need the output as "1¶2¶3¶4¶4¶4¶5¶6".

 

 

This simple online function will help to achieve this. 

 

Substitute ( Text ; ["¶¶" ; "¶#"];["#¶";""] ;["#";""] )

 

We need to be careful with "#" symbol. If the list itself contains "#" then it will create a problem.

We can use any symbol or charecter (if we are sure that the list contains only numbers ) in place "#", which is not present in the list.  

 

 

 

 

- Thank You.

Nice!!  I did notice that if it begins with carriage return(s) or ends with carriage return(s) that it leaves a single leading and trailing return.  There are easy ways of addressing this but also were you aware of this http://www.briandunning.com/cf/166

 

Still ... I prefer singular reference (CFs mean dealing reviewing two locations rather than one) when possible.  If you address the leading and trailing, I think this is a winner.   :laugh2:

 

Also, I would use something less common than #.  Even tilde ~ would work.  Thanks for piquing my interest!


I'll let you fix up your own calc - you are doing quite well without me.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.