-
Couldn't load subscription status.
- Fork 0
ProtoString toEnclosed() Method
Seth Clydesdale edited this page May 27, 2015
·
1 revision
Converting alphanumerics into enclosed alphanumerics.
'Coffee'.toEnclosed(); // returns 'Ⓒⓞⓕⓕⓔⓔ'
'Number 1'.toEnclosed(); // returns 'Ⓝⓤⓜⓑⓔⓡ ①'
'Hello world!'.toEnclosed(); // returns 'Ⓗⓔⓛⓛⓞ ⓦⓞⓡⓛⓓ!'The toEnclosed method converts all Alphanumeric characters into Enclosed Alphanumeric characters. Characters that cannot be converted to an enclosed character will maintain their appearance.
String.toEnclosed();Home • History • ProtoString • Created by Seth Clydesdale