I just want to remove one part of string .
if let dotRange = detailArticleContent?.range(of: "<iframe") {
detailArticleContent.removeSubrange( dotRange.lowerBound... < detailArticleContent.endIndex )
//In this line i got err : '...' is not a postfix unary operator
}
Use either ...
(close range) or ..<
(half close range, before last), there's nothing like ... <