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.

Remove extraneous characters from beginning of field

Featured Replies

I have to work with imported data that consistently follow this pattern.

tbn:ANd9GcRd4fVcExYeQOa4L3AahyuyAh4rlLfaKuHd6EWJZAlcKSUYVJS7IcugGE1impKxwfJDTvU:https://get.pxhere.com/photo/food-natural-foods-whole-food-Food-group-superfood-cuisine-local-food-vegetable-ingredient-dish-vegan-nutrition-produce-vegetarian-food-delicacy-still-life-meal-recipe-herb-still-life-photography-1621684.jpg

The field contents aways begin with tbn, followed by a colon.
An apparently random string follows, always ends with a colon.
There are never any colons in the string (except at the beginning and end).

The URL follows the second colon.

I need to create a calculation that ignores everything before http. I'm guessing it involves Right and Position, but so far, I can't get anything to work. Can someone help?

Thanks,
dp

6 minutes ago, -dp- said:

There are never any colons in the string (except at the beginning and end).

There is a 3rd colon immediately after https . Anyway, you can choose to remove the part that ends with the 2nd colon, or extract the part that starts with http . Here's an example that does the former:

Let ( [
end = Position ( YourField ; ":" ; 1 ; 2 )
] ;
Replace ( YourField ; 1 ; end ; "" )
)

 

 

  • Author

That worked. Thank you.

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.