_StringToTag

Returns string to given tag/delimiter

#include "String and File String.au3"
_StringToTag( $sString, $sTag [, $bNotFound = True [, $bCaseSensitive = False]] )

parameters

$sString String with given tag
$sTag Tag/delimiter
$bNotFound True = Return $String if not found, False = return empty string
$bCaseSensitive False = Case insensitive, True = Case sensitive

return value

string value String to given tag, if tag not found according to $NotFound

related

_StringFromTag

examples

_StringToTag( "string to a tag</tag>", "</tag>" ) ; "string to tag"

_StringToTag( "comma separated,", "," ) ; "comma separated"