htmlEntities - decode/encode html entities

Version 1.0.2 (4.81 KB) by YT
An easy to use function to decode/encode html entities. Provided with 'entities.mat' which is a table consisting of chars and entities.
105 Downloads
Updated 1 Feb 2019

View License

%%% HOW TO USE

%decode
decodedString = htmlEntities('my/path/to/entities.mat','my encoded strïng',0);
>> 'my encoded strïng'

%encode
encodedString = htmlEntities('my/path/to/entities.mat','my strïng',1);
>> 'my strïng'

Cite As

YT (2024). htmlEntities - decode/encode html entities (https://www.mathworks.com/matlabcentral/fileexchange/70161-htmlentities-decode-encode-html-entities), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS Linux
Categories
Find more on Resource Allocation Modeling in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.2

Updated description / how2use

1.0.1

Updated description / how2use

1.0.0