ProtectedbuildProtectedpartitionPartitions a string into three parts based on a delimiter.
The string to partition.
The delimiter to partition the string by.
A tuple containing the three parts of the partitioned string. The first part is the string before the delimiter, the second part is the delimiter itself, and the third part is the string after the delimiter. If the delimiter is not found in the string, the first part is the entire string, the second part is an empty string, and the third part is an empty string.
Server-sent event.