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.

text parsing

Featured Replies

I have a string in foot and inches, 2'-2 1/2", and want to use the position function to return the location of the ' character. I get zero and not 2. Why?

Post the exact function you are using.

Is the field's data type set to text or number? It needs to be text for this to work.

  • Author

It is set to text. I've even tried changing the string to something like "this' is a test". still get 0

Position ( text ; "'" ; 1 ; 1 )

  • Author

i am using a text field. I've even changed the string to something like " this ' is a test" and still get 0 returned

  • Author

i know that i am using the postion function correctly because if ask it to return the position of "a" in "this ' is a test", i get 11

Turn off smart quotes and re-enter the " & '.

  • Author

are you suggesting this: Position ( size; "&'"; 1 ; 1 ), which I just tried and got 0

No, I am saying you must go to the File menu and select File Options, then Text and then unckeck the box that says "Use smart quotes" Now every place you used a " or a ' retype it.

Your calculation should be Position ( String ; "'" ; 1 ; 1 ).

  • Author

thanks Ralph!

Well spotted Raplh.

I gues you couls keep smart quotes as well by also looking for curly quotes as well as straight ones.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.