Announcements
I have a field that contains the type of shifts that someone will work in a day set out like this:
Long day (LD)
Night (N)
Early (E)
etc...
How can i have it so that in a gallery where i have this information showing (thisitem.shift), that it only shows the information in brackets? Just pulling out this part of the data essentially for display.
@atray13
Put this code in the Text property of a label inside the gallery. Make sure to replace FieldName with a column name from your datasource.
Match(ThisItem.FieldName, "\[(.*?)\]")
---Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
To be consistent pick the first letter for all:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 355 Most Valuable Professional
11manish 209 Super User 2026 Season 2
MS.Ragavendar 150 Super User 2026 Season 2