CharEven Function | |
Return the even-numbered characters in a string.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION CharEven(
cString AS STRING
) AS STRING
public static string CharEven(
string cString
)
Request Example
View SourceParameters
- cString
- Type: String
The string whose even-numbered characters you want to return.
Return Value
Type:
String
Every other character in the string, starting from the second character.
Remarks Examples
These examples display every even character in a string:
1? CharEven("A1B2C3")
2? CharEven("1234567890")
See Also