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.

PatternCount ( uppercase Search) - any ideas

Featured Replies

Hello everyone;

i was wondering as i don't see any built in functions to check for "A" vs "a" how i can do that!

I even looked on bd's website and can't find matchCaseUpper or Lower,etc

I was trying something like this, but no luck yet!




Let ( [

	  word  = "ArChiVe";     // my word

      marker = "^case^";    // this makes it unique

      find = marker & "ArChiVe" ;   // ^case^ArChiVE

      result = substitute ( word; "ArChiVe"; find )    //What up?



];

position( word; find ; 1 ; 1)

)



- i don't think i am close, need some advice please.

Edited by imoree

i don't think i am close, need some advice please.

Close to what? You didn't say what's the purpose here - and sadly, your process doesn't make it clear either.

  • Author

Close to what? You didn't say what's the purpose here - and sadly, your process doesn't make it clear either.

I am trying to match the case of Q instead of q

so what i need is to make search criteria, but my string is actually

QWERTYUIOPASDFGHJKLZXCVBNM for uppercase

Using exact, that is what i have to use.

was trying to do a little cleaner

  • Author

GOT IT!




// MatchCase ( text; search; match )



let([

      tag = "%^Unique^%";

      find = tag & search ;

      text = substitute ( text; search; find )

       ];

       position ( text; find ; 1; 1)  

      )



eg. text = "1234567890qwertyuiopasdfghjklzxcvbnm" . results in 0

      text = "1234567890QWERTYUIOPASDFGHJKLZXCVBNM" . results in 11 ( if search is "QWE"  or uppercase letters here )

Edited by imoree

  • Author

Changes to above; Cleaner

result is either 1 or 0


Let([



      tag = "%^Unique^%";

      find = tag & search; 

      text = Substitute ( text; search; find );

      final = Position ( text; find ; 1; 1 )

];

      Case ( final = 0; 0; 1 )

)

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.