UnHtml$()
Posted
#1
(In Topic #1057)
Trainee
Posted
Guru

paco said
Hi, is there a reverse function to the Html$()-function? Thanks!
Probably String.FromHTML() of gb.util component
/comp/gb.util/string/fromhtml - Gambas Documentation
Maybe UnQuote() will do?
/lang/unquote - Gambas Documentation
As all Html() does is "quote" a string so it's safe for html.
or maybe FromUrl() might do what you need?
/lang/fromurl - Gambas Documentation
Posted
Guru

paco said
Hi, is there a reverse function to the Html$()-function? Thanks!
Experimenting with the tricks Bruce posted, I came up with this: -
The result: -
Charlie was 'ere!
Charlie was 'ere!
Posted
Trainee
Posted
Guru

paco said
Thanks! FromHTML() is not documented under String-Functions in https://gambas.sourceforge.net/en/main.html#
Indeed because it is not a native function but part of the component gb.util.
I have just added a gb.util string link to the "See also" part of the "String functions" page (it will not show on the wiki until tomorrow.)
1 guest and 0 members have just viewed this.



