# substring

open fun <T : String?> substring(expr: Expression<T>, start: Expression<Int>, length: Expression<Int>, builder: QueryBuilder, prefix: String = "SUBSTRING")

SQL function that extracts a substring from the specified string expression.

#### Parameters

expr

The expression to extract the substring from.

start

The start of the substring.

length

The length of the substring.

builder

Query builder to append the SQL function to.