What is your opinion?
Welldone!
I write my alternative script,
i wanted to do it to convert text to GSM alphabet, but i think it can be used for that too.
If I have not misunderstood, the purpose is to read the names coming from "system identity" (or DHCP Leases, or IP Neighbors) and convert them all to UPPERCASE and where there are spaces enter _
And the unsupported chars on name, like "jack's pc" must be converted to "jack_s_pc"?
(space) => _ (underscore)
- = - (minus)
. = . (dot)
0-9 = 0-9
a-z => A-Z
_ = _ (underscore)
A-Z = A-Z
all_the_others => _ (underscore)
Did I get it right?
v space
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
converted to
_____________-._0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______ABCDEFGHIJKLMNOPQRSTUVWXYZ____
all the other characters from 0x00 to 0x19 and from 0x127 to 0x255 are converted to _