This subroutine determines if each character in a given string is the first byte of a UTF-8 multibyte character. It takes a UTF-8 string and return a logical array indicating for each position if it is the first byte.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=length), | intent(in) | :: | str | |||
logical, | intent(inout), | allocatable | :: | array(:) | ||
integer(kind=int32), | intent(in) | :: | length |