\FOFStringUtils
Helper class with utilitarian functions concerning strings
Synopsis
class FOFStringUtils
{
- // methods
- public static string toSlug()
- public static string toASCII()
- public static boolean toBool()
Methods
public
- toASCII() — Convert common norhern European languages' letters into plain ASCII. This is a rudimentary transliteration.
- toBool() — Convert a string to a boolean.
- toSlug() — Convert a string into a slug (alias), suitable for use in URLs. Please note that transliteration suupport is rudimentary at this stage.