From Clomosy Docs

No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
function AnsiLowerCase(const MixedString string):string;
<div class="alert alert-ligth border border-3 border-primary-subtle rounded-5 p-4 shadow-sm" role="alert">
function AnsiLowerCase(const S: string): string;
</div>


The AnsiLowerCase function creates a copy of String with all letters converted to lower case. All Ansi commands support multi-byte and accented characters.<br>
Returns a string that is a copy of the given string converted to lowercase.<br>


'''Syntax:'''<br>
AnsiLowerCase returns a string that is a copy of the given string converted to lowercase. The conversion uses the current locale. This function supports multi-byte character sets.<br>
AnsiLowerCase(StringValue)


'''Example:'''<br>
 
:'''Base Syntax'''
<b>Example</b><br>
<pre>
  var
  var
  SimpleString : String;
  SimpleString : String;
   
   
  begin
  {
  SimpleString := AnsiLowerCase('I am learning CLOMOSY.');
  SimpleString = AnsiLowerCase('I am learning CLOMOSY.');
  ShowMessage(SimpleString);
  ShowMessage(SimpleString);
  end;
  }
</pre>


:'''TRObject Syntax'''
<b>Output:</b><br>
  var
<div class="alert alert-success" role="alert" data-bs-theme="light">
    SimpleString : String;
i am learning clomosy.
 
</div>
  {
    SimpleString = AnsiLowerCase('I am learning CLOMOSY.');
    ShowMessage(SimpleString);
  }


'''Output:'''
<h2> See Also </h2>
i am learning clomosy.
* [[System_Library#String_Functions | String Functions]]
{{#seo:|title=AnsiLowerCase Using in Clomosy - Clomosy Docs}}
{{#seo:|description=AnsiLowerCase converts a string to lowercase based on the current locale, supporting multi-byte character sets.}}

Latest revision as of 14:05, 24 December 2024

Returns a string that is a copy of the given string converted to lowercase.

AnsiLowerCase returns a string that is a copy of the given string converted to lowercase. The conversion uses the current locale. This function supports multi-byte character sets.


Example

 var
   SimpleString : String;
 
 {
   SimpleString = AnsiLowerCase('I am learning CLOMOSY.');
   ShowMessage(SimpleString);
 }

Output:

See Also