Goto main content

lc

This function returns the lowercase value of a string.

LC

NAME

lc - This function returns the lowercase value of a string.

SYNOPSIS

lc(string)

DESCRIPTION

This function returns the lowercase value of a string. It doesn’t affect numbers or special characters.

PARAMETERS

string
the string to put in lowercase

RETURN

string
String value in lowercase

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

res={_{lc("ABC"); }}. return res=abc.));
res={_{lc(-2.5); }}. return res=-2.5.));
res={_{lc("ÉE"); }}. return res=ée.));
res={_{lc("бée¢€𤭢 !  # $ % & ' () * + , - .  / 0 1 2 3 4 5 6 7 8 9
    : ; < = > ?  @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
    [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z {
    | } ~ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
    À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß à
    á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý

    return

res=бée¢€𤭢 !  # $ % & ' () * + , - .  / 0 1 2 3 4 5 6 7 8 9
    : ; < = > ?  @ a b c d e f g h i j k l m n o p q r s t u v w x y z
    [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z {
    | } ~ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
    à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö × ø ù ú û ü ý þ ß à
    á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý.

SEE ALSO

{{ include("includes/strings.sn") }}

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.