MinusculeSyntaxeMinuscule(n) Convertit une chaîne majuscule en minuscule. Le paramètre et le résultat sont au format texte. par gilles.cruypenynck@wanadoo.fr ExempleMinuscule("HéLICOïDAL") ---> "hélicoïdal" Scripton Minuscule(n) set temp to "" set maj to "àâäèéêëçôîïæàâäèéêëçôîïæ" set min to "àâäèéêëçôîïæàâäèéêëçôîïæ" repeat with i in n set num to ASCII number i if i is in maj then set temp to temp & character (offset of i in maj) of min else if num > 64 and num < 91 then set temp to temp & (ASCII character (num + 32)) else set temp to temp & i end if end repeat return temp end Minuscule
|