Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def htmlEndTagByStartTag(startTag)
- x = 1
- string = "</"
- while (startTag[x] != ' ' and startTag[x] != '>')
- string = string + startTag[x]
- x = x + 1
- end
- string = string + ">"
- return string
- end
Advertisement
Add Comment
Please, Sign In to add comment