-
Couldn't load subscription status.
- Fork 0
ProtoString toEntity() Method
Seth Clydesdale edited this page May 23, 2015
·
2 revisions
Encoding each character in a text string as an HTML entity number.
'&$♥♠♣'.toEntity(); // returns '&$♥♠♣'The toEntity() method was used to encode all characters in a string as an HTML entity number. This method was dropped, so it's recommended to use encodeAs() instead.
String.toEntity();You can find the source for the old conversion methods here.
Home • History • ProtoString • Created by Seth Clydesdale