title |
description |
aliases |
menu |
weight |
flux/v0.x/tags |
related |
introduced |
strings.isLetter() function |
The strings.isLetter() function tests if a single character string is a letter (a-z, A-Z). |
/influxdb/v2.0/reference/flux/functions/strings/isletter/ |
/influxdb/v2.0/reference/flux/stdlib/strings/isletter/ |
/influxdb/cloud/reference/flux/stdlib/strings/isletter/ |
|
flux_0_x_ref |
name |
parent |
strings.isLetter |
strings |
|
|
301 |
|
/flux/v0.x/stdlib/strings/isdigit/ |
|
0.18.0 |
The strings.isLetter()
function tests if a single character string is a letter (a-z, A-Z).
Output data type: Boolean
import "strings"
strings.isLetter(v: "A")
// returns true
Parameters
v
The single character string to test.
Examples
Filter by columns with single-letter values
import "strings"
data
|> filter(fn: (r) => strings.isLetter(v: r.serverRef))