![]() |
libSUFR
a LIBrary of Some Useful Fortran Routines
|
Procedures to manipulate text strings containing HTML code. More...
Functions/Subroutines | |
subroutine | remove_html (str, debug) |
Remove HTML code from a string using all remove_html_* subroutines available in libSUFR. | |
subroutine | remove_html_links (str, debug) |
Remove HTML links from a string (but keep the text in the link) | |
subroutine | remove_html_images (str, debug) |
Remove code for HTML images from a string. | |
subroutine | remove_html_bold_italics (str) |
Remove HTML bold and italics from a string. | |
subroutine | remove_html_br_p_hr (str) |
Remove HTML ,. | |
Procedures to manipulate text strings containing HTML code.
subroutine sufr_text_html::remove_html | ( | character, dimension(*), intent(inout) | str, |
logical, intent(in), optional | debug ) |
Remove HTML code from a string using all remove_html_* subroutines available in libSUFR.
str | String to remove HTML code from |
debug | Print debug info (T/F, optional) |
Definition at line 36 of file text_html.f90.
References remove_html_bold_italics(), remove_html_br_p_hr(), remove_html_images(), and remove_html_links().
subroutine sufr_text_html::remove_html_bold_italics | ( | character, dimension(*), intent(inout) | str | ) |
Remove HTML bold and italics from a string.
str | String to remove HTML code from |
Definition at line 153 of file text_html.f90.
References sufr_text::remove_substring().
Referenced by remove_html().
subroutine sufr_text_html::remove_html_br_p_hr | ( | character, dimension(*), intent(inout) | str | ) |
Remove HTML
,.
...
,
from a string - replace them by a space
str | String to remove HTML code from |
Definition at line 178 of file text_html.f90.
References sufr_text::replace_substring().
Referenced by remove_html().
subroutine sufr_text_html::remove_html_images | ( | character, dimension(*), intent(inout) | str, |
logical, intent(in), optional | debug ) |
Remove code for HTML images from a string.
str | String to remove HTML code from |
debug | Print debug info (T/F, optional) |
Definition at line 110 of file text_html.f90.
Referenced by remove_html().
subroutine sufr_text_html::remove_html_links | ( | character, dimension(*), intent(inout) | str, |
logical, intent(in), optional | debug ) |
Remove HTML links from a string (but keep the text in the link)
str | String to remove HTML code from |
debug | Print debug info (T/F, optional) |
Definition at line 61 of file text_html.f90.
References sufr_text::remove_substring().
Referenced by remove_html().