> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# string

## Chainable Ops

### <a id="string-notEqual" />`string-notEqual`

Determines inequality of two values.

| Argument | Description |
| :- | :- |
| `lhs` | The first value to compare. |
| `rhs` | The second value to compare. |

#### Return Value

Whether the two values are not equal.

### <a id="string-add" />`string-add`

Concatenates two [strings](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `lhs` | The first [string](/products/wandb/ref/query-panel/string) |
| `rhs` | The second [string](/products/wandb/ref/query-panel/string) |

#### Return Value

The concatenated [string](/products/wandb/ref/query-panel/string)

### <a id="string-equal" />`string-equal`

Determines equality of two values.

| Argument | Description |
| :- | :- |
| `lhs` | The first value to compare. |
| `rhs` | The second value to compare. |

#### Return Value

Whether the two values are equal.

### <a id="string-append" />`string-append`

Appends a suffix to a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to append to |
| `suffix` | The suffix to append |

#### Return Value

The [string](/products/wandb/ref/query-panel/string) with the suffix appended

### <a id="string-contains" />`string-contains`

Checks if a [string](/products/wandb/ref/query-panel/string) contains a substring

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |
| `sub` | The substring to check for |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) contains the substring

### <a id="string-endsWith" />`string-endsWith`

Checks if a [string](/products/wandb/ref/query-panel/string) ends with a suffix

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |
| `suffix` | The suffix to check for |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) ends with the suffix

### <a id="string-findAll" />`string-findAll`

Finds all occurrences of a substring in a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to find occurrences of the substring in |
| `sub` | The substring to find |

#### Return Value

The *list* of indices of the substring in the [string](/products/wandb/ref/query-panel/string)

### <a id="string-isAlnum" />`string-isAlnum`

Checks if a [string](/products/wandb/ref/query-panel/string) is alphanumeric

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) is alphanumeric

### <a id="string-isAlpha" />`string-isAlpha`

Checks if a [string](/products/wandb/ref/query-panel/string) is alphabetic

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) is alphabetic

### <a id="string-isNumeric" />`string-isNumeric`

Checks if a [string](/products/wandb/ref/query-panel/string) is numeric

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) is numeric

### <a id="string-lStrip" />`string-lStrip`

Strip leading whitespace

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to strip. |

#### Return Value

The stripped [string](/products/wandb/ref/query-panel/string).

### <a id="string-len" />`string-len`

Returns the length of a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

The length of the [string](/products/wandb/ref/query-panel/string)

### <a id="string-lower" />`string-lower`

Converts a [string](/products/wandb/ref/query-panel/string) to lowercase

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to convert to lowercase |

#### Return Value

The lowercase [string](/products/wandb/ref/query-panel/string)

### <a id="string-partition" />`string-partition`

Partitions a [string](/products/wandb/ref/query-panel/string) into a *list* of the [strings](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to split |
| `sep` | The separator to split on |

#### Return Value

A *list* of [strings](/products/wandb/ref/query-panel/string): the [string](/products/wandb/ref/query-panel/string) before the separator, the separator, and the [string](/products/wandb/ref/query-panel/string) after the separator

### <a id="string-prepend" />`string-prepend`

Prepends a prefix to a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to prepend to |
| `prefix` | The prefix to prepend |

#### Return Value

The [string](/products/wandb/ref/query-panel/string) with the prefix prepended

### <a id="string-rStrip" />`string-rStrip`

Strip trailing whitespace

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to strip. |

#### Return Value

The stripped [string](/products/wandb/ref/query-panel/string).

### <a id="string-replace" />`string-replace`

Replaces all occurrences of a substring in a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to replace contents of |
| `sub` | The substring to replace |
| `newSub` | The substring to replace the old substring with |

#### Return Value

The [string](/products/wandb/ref/query-panel/string) with the replacements

### <a id="string-slice" />`string-slice`

Slices a [string](/products/wandb/ref/query-panel/string) into a substring based on beginning and end indices

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to slice |
| `begin` | The beginning index of the substring |
| `end` | The ending index of the substring |

#### Return Value

The substring

### <a id="string-split" />`string-split`

Splits a [string](/products/wandb/ref/query-panel/string) into a *list* of [strings](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to split |
| `sep` | The separator to split on |

#### Return Value

The *list* of [strings](/products/wandb/ref/query-panel/string)

### <a id="string-startsWith" />`string-startsWith`

Checks if a [string](/products/wandb/ref/query-panel/string) starts with a prefix

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |
| `prefix` | The prefix to check for |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) starts with the prefix

### <a id="string-strip" />`string-strip`

Strip whitespace from both ends of a [string](/products/wandb/ref/query-panel/string).

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to strip. |

#### Return Value

The stripped [string](/products/wandb/ref/query-panel/string).

### <a id="string-upper" />`string-upper`

Converts a [string](/products/wandb/ref/query-panel/string) to uppercase

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to convert to uppercase |

#### Return Value

The uppercase [string](/products/wandb/ref/query-panel/string)

### <a id="string-levenshtein" />`string-levenshtein`

Calculates the Levenshtein distance between two [strings](/products/wandb/ref/query-panel/string).

| Argument | Description |
| :- | :- |
| `str1` | The first [string](/products/wandb/ref/query-panel/string). |
| `str2` | The second [string](/products/wandb/ref/query-panel/string). |

#### Return Value

The Levenshtein distance between the two [strings](/products/wandb/ref/query-panel/string).

### <a id="local-sqlconnection" />`local-sqlconnection`

hello

| Argument | Description |
| :- | :- |
| `conf` | hello |
| `size` | hello |

#### Return Value

hello

## List Ops

### <a id="string-notEqual-list" />`string-notEqual`

Determines inequality of two values.

| Argument | Description |
| :- | :- |
| `lhs` | The first value to compare. |
| `rhs` | The second value to compare. |

#### Return Value

Whether the two values are not equal.

### <a id="string-add-list" />`string-add`

Concatenates two [strings](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `lhs` | The first [string](/products/wandb/ref/query-panel/string) |
| `rhs` | The second [string](/products/wandb/ref/query-panel/string) |

#### Return Value

The concatenated [string](/products/wandb/ref/query-panel/string)

### <a id="string-equal-list" />`string-equal`

Determines equality of two values.

| Argument | Description |
| :- | :- |
| `lhs` | The first value to compare. |
| `rhs` | The second value to compare. |

#### Return Value

Whether the two values are equal.

### <a id="string-append-list" />`string-append`

Appends a suffix to a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to append to |
| `suffix` | The suffix to append |

#### Return Value

The [string](/products/wandb/ref/query-panel/string) with the suffix appended

### <a id="string-contains-list" />`string-contains`

Checks if a [string](/products/wandb/ref/query-panel/string) contains a substring

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |
| `sub` | The substring to check for |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) contains the substring

### <a id="string-endsWith-list" />`string-endsWith`

Checks if a [string](/products/wandb/ref/query-panel/string) ends with a suffix

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |
| `suffix` | The suffix to check for |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) ends with the suffix

### <a id="string-findAll-list" />`string-findAll`

Finds all occurrences of a substring in a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to find occurrences of the substring in |
| `sub` | The substring to find |

#### Return Value

The *list* of indices of the substring in the [string](/products/wandb/ref/query-panel/string)

### <a id="string-isAlnum-list" />`string-isAlnum`

Checks if a [string](/products/wandb/ref/query-panel/string) is alphanumeric

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) is alphanumeric

### <a id="string-isAlpha-list" />`string-isAlpha`

Checks if a [string](/products/wandb/ref/query-panel/string) is alphabetic

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) is alphabetic

### <a id="string-isNumeric-list" />`string-isNumeric`

Checks if a [string](/products/wandb/ref/query-panel/string) is numeric

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) is numeric

### <a id="string-lStrip-list" />`string-lStrip`

Strip leading whitespace

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to strip. |

#### Return Value

The stripped [string](/products/wandb/ref/query-panel/string).

### <a id="string-len-list" />`string-len`

Returns the length of a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |

#### Return Value

The length of the [string](/products/wandb/ref/query-panel/string)

### <a id="string-lower-list" />`string-lower`

Converts a [string](/products/wandb/ref/query-panel/string) to lowercase

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to convert to lowercase |

#### Return Value

The lowercase [string](/products/wandb/ref/query-panel/string)

### <a id="string-partition-list" />`string-partition`

Partitions a [string](/products/wandb/ref/query-panel/string) into a *list* of the [strings](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to split |
| `sep` | The separator to split on |

#### Return Value

A *list* of [strings](/products/wandb/ref/query-panel/string): the [string](/products/wandb/ref/query-panel/string) before the separator, the separator, and the [string](/products/wandb/ref/query-panel/string) after the separator

### <a id="string-prepend-list" />`string-prepend`

Prepends a prefix to a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to prepend to |
| `prefix` | The prefix to prepend |

#### Return Value

The [string](/products/wandb/ref/query-panel/string) with the prefix prepended

### <a id="string-rStrip-list" />`string-rStrip`

Strip trailing whitespace

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to strip. |

#### Return Value

The stripped [string](/products/wandb/ref/query-panel/string).

### <a id="string-replace-list" />`string-replace`

Replaces all occurrences of a substring in a [string](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to replace contents of |
| `sub` | The substring to replace |
| `newSub` | The substring to replace the old substring with |

#### Return Value

The [string](/products/wandb/ref/query-panel/string) with the replacements

### <a id="string-slice-list" />`string-slice`

Slices a [string](/products/wandb/ref/query-panel/string) into a substring based on beginning and end indices

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to slice |
| `begin` | The beginning index of the substring |
| `end` | The ending index of the substring |

#### Return Value

The substring

### <a id="string-split-list" />`string-split`

Splits a [string](/products/wandb/ref/query-panel/string) into a *list* of [strings](/products/wandb/ref/query-panel/string)

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to split |
| `sep` | The separator to split on |

#### Return Value

The *list* of [strings](/products/wandb/ref/query-panel/string)

### <a id="string-startsWith-list" />`string-startsWith`

Checks if a [string](/products/wandb/ref/query-panel/string) starts with a prefix

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to check |
| `prefix` | The prefix to check for |

#### Return Value

Whether the [string](/products/wandb/ref/query-panel/string) starts with the prefix

### <a id="string-strip-list" />`string-strip`

Strip whitespace from both ends of a [string](/products/wandb/ref/query-panel/string).

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to strip. |

#### Return Value

The stripped [string](/products/wandb/ref/query-panel/string).

### <a id="string-upper-list" />`string-upper`

Converts a [string](/products/wandb/ref/query-panel/string) to uppercase

| Argument | Description |
| :- | :- |
| `str` | The [string](/products/wandb/ref/query-panel/string) to convert to uppercase |

#### Return Value

The uppercase [string](/products/wandb/ref/query-panel/string)

### <a id="string-levenshtein-list" />`string-levenshtein`

Calculates the Levenshtein distance between two [strings](/products/wandb/ref/query-panel/string).

| Argument | Description |
| :- | :- |
| `str1` | The first [string](/products/wandb/ref/query-panel/string). |
| `str2` | The second [string](/products/wandb/ref/query-panel/string). |

#### Return Value

The Levenshtein distance between the two [strings](/products/wandb/ref/query-panel/string).
