Menu
Open source
trim_prefix
trim_prefix
removes the prefix from the start of a string.
If the string doesn’t start with the prefix, the string is returned unchanged.
Examples
alloy
> trim_prefix("helloworld", "hello")
"world"
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.
Video
Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.
Video
Intro to Alerting with Grafana
Master alerting with Grafana: Navigate the complexities, reduce false positives, and boost reliability for your systems.