Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
String
String.Elite

Method String.Elite.elite_string()


Method elite_string

string elite_string(string in, void|int(0..100) leetp, void|int(0..1) eightbit)

Description

Translates a string to 1337. The optional argument leetp is the maximum percentage of leetness (100=max leet, 0=no leet).

The translation is performed in three steps, first the neccesary elite translations (picture -> pic, cool->kewl etc), then optional translations (ok->k, dude->dood, -ers -> -orz), then calls elite_word on the resulting words.