This document details the string operations supported by TFHE-rs.
eq
FheAsciiString
FheAsciiString or ClearString
ne
FheAsciiString
FheAsciiString or ClearString
le
FheAsciiString
FheAsciiString or ClearString
ge
FheAsciiString
FheAsciiString or ClearString
lt
FheAsciiString
FheAsciiString or ClearString
gt
FheAsciiString
FheAsciiString or ClearString
len
FheAsciiString
is_empty
FheAsciiString
eq_ignore_case
FheAsciiString
FheAsciiString or ClearString
to_lowercase
FheAsciiString
to_uppercase
FheAsciiString
contains
FheAsciiString
FheAsciiString or ClearString
ends_with
FheAsciiString
FheAsciiString or ClearString
starts_with
FheAsciiString
FheAsciiString or ClearString
find
FheAsciiString
FheAsciiString or ClearString
rfind
FheAsciiString
FheAsciiString or ClearString
strip_prefix
FheAsciiString
FheAsciiString or ClearString
strip_suffix
FheAsciiString
FheAsci---iString or ClearString
concat
FheAsciiString
FheAsciiString
repeat
FheAsciiString
u16 or u32 or i32 or usize or (FheUint16, u16)
trim_end
FheAsciiString
trim_start
FheAsciiString
trim
FheAsciiString
replace
FheAsciiString
FheAsciiString
replacen
FheAsciiString
FheAsciiString or ClearString
u16 or u32 or i32 or usize or (FheUint16, u16)
The following example shows how to perform string operations: