[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'LazStringUtils' (#lazutils)

SwapCase

Inverts the case for characters in the specified text.

Declaration

Source position: lazstringutils.pas line 97

function SwapCase(

  const S: string

):string;

Arguments

S

  

String with the characters converted in the routine.

Function result

String with values after inverting the case for each character.

Description

Inverts the case for characters in the specified string value. Like using LowerCase and UpperCase simultaneously.


Version 4.0 Generated 2025-05-03 Home