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.

Finding the first 5 characters

Featured Replies

Hi, is there way that I can find the first five characters in a field that matches WITHOUT putting in any words or letters. I was think something like wildcards. So in the example below, I would get all Disable and all Molly records because they match.

Example:

Name

Disable smiles

Disable me

Jack Daniels

Joe Moe

Molly Brown

Molly Black

Try this Script:

Show all records

Go to Record/Request/Page(first)

Loop

If("Length (YOURFILEFIELD)<5")

Omit Record

Else

Go to Record/Request/Page [Exit after last, Next]

End If

End Loop

Hi

the Gar script can't do what you asked for, because it finds all the records with more than 4 chars in the name, even if they don't match.

So give a try to the attached file :P

First5.zip

  • Author

Yeahhhhh!!!!

That's what I'm looking for. Thanks a million.

Hi

as you had tried, my example file works...

but I noticed that it finds empty name field too.

This can be of some utility, but if you don't want them, go to change the sixth row of the script "Find" to this:

If[status(CurrentPortalRow )[color:red]<= 1]

Check this file too !

I think that it's better because the script mustn't change layout

5chars.zip

Raybaudi

You are absolutely right, I stand corrected.

I concentrated on the "more than 5" part and missed the matching completely.

I looked at your example. Cool! I rarely do any portal work and now I see some of what I have been missing.

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.