Pike v8.0 release 1738

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 necessary elite translations (picture -> pic, cool->kewl etc), then optional translations (ok->k, dude->dood, -ers -> -orz), then calls elite_word on the resulting words.