pub fn first_codepoint<T>(
arg: impl IntoExpr<T>,
) -> Expr<<T as StringLengthExpr>::Output>where
T: StringLengthExpr,Expand description
Returns the numeric code of the first character, or zero for empty text.
Other multibyte encodings accept only ASCII characters.
Maps to PostgreSQL ASCII, which returns Unicode code points with UTF8.