DescriptionExtracts an e-mail address from the input.Syntaxtarget.strlib.GetEmail( input, pos )
Description
Extracts an e-mail address from the input.
Syntax
target.strlib.GetEmail( input, pos )
input: String to be parsed
pos: integer (optional, in/out) - search from position (default is 0)Return valueThe function returns a stringSample'---------- Start ----------Function StartDim str, str2 str = "If you need help or have any questions contact us at support@simx.com." str2 = target.strlib.GetEmail( str ) trg.Message( str2 )End FunctionIn this case GetEmail parses the input string for substrings that match an e-mail address format and extracts them.See alsoPlatform Objects and MethodsTrimSplitMid
pos: integer (optional, in/out) - search from position (default is 0)
Return valueThe function returns a stringSample'---------- Start ----------Function StartDim str, str2 str = "If you need help or have any questions contact us at support@simx.com." str2 = target.strlib.GetEmail( str ) trg.Message( str2 )End FunctionIn this case GetEmail parses the input string for substrings that match an e-mail address format and extracts them.See alsoPlatform Objects and MethodsTrimSplitMid
Return value
The function returns a string
Sample'---------- Start ----------Function StartDim str, str2 str = "If you need help or have any questions contact us at support@simx.com." str2 = target.strlib.GetEmail( str ) trg.Message( str2 )End FunctionIn this case GetEmail parses the input string for substrings that match an e-mail address format and extracts them.See also
'---------- Start ----------
Function Start
Dim str, str2
str = "If you need help or have any questions contact us at support@simx.com."
str2 = target.strlib.GetEmail( str ) trg.Message( str2 )
End FunctionIn this case GetEmail parses the input string for substrings that match an e-mail address format and extracts them.
Platform Objects and MethodsTrimSplitMid
Platform Objects and Methods
Trim
SplitMid