Pike v8.1 release 6

Method String.Elite.elite_string()


Method elite_string

string elite_string(string in, void|int(0..100) leetp, void|bool 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.