xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

CharSwap()

Exchanges adjacent characters in a string.

Syntax

CharSwap( <cString> ) --> cResult

Arguments

<cString>
This is the character string to process.

Return

The function exchanges characters at odd positions with characters at even positions and returns the resulting string.

Info

See also:CharSort(), WordSwap()
Category: CT:String manipulation , Character functions
Source:ct\charswap.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe