Skip 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.

Strip characters before and after a certain char such as "A1"

Featured Replies

hello everyone;

i just can't seem to figure this one out.

I am looking to find a certain range of chars such as A1, then strip chars before and after but don't know how.

here is what i have so far. I just need it finished.

* ok. while i was writing this, i saw that i figured out my own problem

Here is the solution for anyone else;


Let([

		 text = "1ASdfdA1sdjf1231123";						 //string to search for ;

		 search = "A1";												  // i am looking for A1

		 location = Position ( text; search ; 1; 1);		  // where does this start @

		 sectionR = Right ( text; location);					 // find right section

		 sectionL = Left( text; location)						  // find left section

	   ];

		 right( sectionL ; 1) & left( sectionR ;1 )			 //we know right and left so lets strip off 1 char off each and we get proper			result

)

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.