Extract-Letters-in-the-String
Command Description
Extract all the English letters in the target string
Command Prototype
sRet = LetterFromStr(sText)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
sText | True | string | "" | Extracted raw string |
return
sRet,The variable used to save the output of the command.
Demo
TracePrint("----------------------Extract the letters in the string------------------- -----")
//-------------------------------------------------------------------------------
//[Remarks] Extract the letters in the string.
//Input parameter 1:
// sText--The extracted source string.
//out parameters:
// sRet--The variable to which the output of the function call is saved.
//
//Command prototype: sRet=LetterFromStr(sText)
//-------------------------------------------------------------------------------
sRet=LetterFromStr("Ab12C3")
TracePrint (sRet)