Tango.info az 09 name: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:


To transform a string into a '''a_z_name''' the following conversion is applied
To transform a string into a '''a_z_name''' the following conversion is applied
* all lowercase
* convert letters to lowercase
* diacritics removed
* remove diacritics
* special chars and spaces converted to _  
* convert non [_a-z] character to _  
* all multiple _ converted to one _
* convert multiple _ to one _
 
== Link ==
== Link ==
* https://tango.info/tools/string_conversion.php
* https://tango.info/tools/string_conversion.php

Revision as of 2012-09-03T17:37:13

needs fix - 0-9 undefined

A tango.info a z name only includes letters a-z and underscores. regex: [_a-z]

To transform a string into a a_z_name the following conversion is applied

  • convert letters to lowercase
  • remove diacritics
  • convert non [_a-z] character to _
  • convert multiple _ to one _

Link

See also