#12 Find or create a Codesys solution for: F_ToLCase

v1.0
closed
aliazzz
None
2020-05-01
2019-05-04
aliazzz
No

The F_ToLCase function converts a specified string to lowercase

VAR_INPUT

VAR_INPUT
        in      : T_MaxString;
END_VAR

in: String to be converted.

Example:

PROGRAM MAIN
VAR
        sLCase : STRING;
END_VAR


sLCase := F_ToLCase( 'TO LOWER CASE 1234567890 ÄÖÜß' );

The result is: 'to lower case 1234567890 äöüß'

GLOBAL_SBCS_TABLE := eSBCS_CentralEuropean;
sLCase := F_ToLCase( 'TO LOWER CASE 1234567890 ĄĘŚĆŻŹŁÓ' );

The result is: 'to lower case 1234567890 ąęśćżźłó'

Discussion

  • aliazzz

    aliazzz - 2019-05-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,5 @@
    +The F_ToLCase function converts a specified string to lowercase
    +
     VAR_INPUT
    
     ~~~
    
     
  • aliazzz

    aliazzz - 2019-05-04
    • summary: F_ToLCase --> Find or create a Codesys solution for: F_ToLCase
     
  • aliazzz

    aliazzz - 2019-05-04
    • status: open --> closed
    • assigned_to: aliazzz
     
  • aliazzz

    aliazzz - 2019-05-05

    Ticket moved from /prj/tcunit4codesys/tickets/9/

     
  • aliazzz

    aliazzz - 2019-05-05

    Ticket moved from /prj/csunit/tickets/12/

     

Log in to post a comment.