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.

Featured Replies

Hello All,

 

This is probably one of those easy ones that I cannot get past.

 

I have imported time data in the form of "01h:09m". I need to parse the two digit hours into one field and minutes into another.

 

I can isolate the right three values, in this case "09m" but how do I remove the "m".

 

Thanks

Al

 

 

Use GetAsNumber( ).  It will ignore the alphabetic characters, spaces, and punctuation, and will return the value as a single numerical value.

I can isolate the right three values, in this case "09m" but how do I remove the "m".=

 

Why don't you isolate the middle 2 characters, starting at the 5th character, instead? Then you won't have this problem.

 

 

 

need to parse the two digit hours into one field and minutes into another.

Is there a reason you can't use a single Time field for both?

... As Comment suggested (assuming your input is in a variable called $text): 

 

Time (GetAsNumber(Left($text;2)); GetAsNumber(Middle($text; 5; 2)) ; 0 ) 

  • Author

Yes, thank you both. I tried both to see which would better meet my needs. Thank you Matthew for setting up Comments suggestion, this is exactly what I needed.

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.