MarkupEntityCodec.isUnencodedEntity

Checks whether the input string begins with an unencoded entity.

Note: a full string has to be passed (not just a single character), as '&' is an unencoded entity, but "&" is not - these cases are not distinguishable from just the 1st character.

class MarkupEntityCodec(E : IEntitySet)
bool
isUnencodedEntity
(
Char
)
(
Char[] text
)

Parameters

text Char[]

string to check

Return Value

Type: bool

true if the first character in the input string is an unencoded entity

Meta