Sql Server, Tiberius, Rust Language, Sql Server 2022.
returns varchar(100)\r as\r begin\r declare @res table\r (\r ordinal bigint,\r value varchar(100)\r )\r \r insert @res(ordinal,value)\r select ordinal,value\r from string_split(@original_value,' ',1)\r \r declare @i int=1,\r @total int,\r @chunk varchar(100)\r \r select @total=count(1)from @res\r