base/utils/numbers.zeek¶
Summary¶
Functions¶
Extract an integer from a string. |
Detailed Interface¶
Functions¶
- extract_count¶
-
Extract an integer from a string.
- Parameters
s – The string to search for a number.
get_first – Provide F if you would like the last number found.
- Returns
The request integer from the given string or 0 if no integer was found.