Skip to main content
Version: Streamsheets 3.0

URL.PORT

Gets the port of a URL.

Syntax

=URL.PORT(URL)

Arguments

NameTypeDescription
URLStringThe URL.

Return

TypeDescription
StringPort within URL

Examples

FormulaResultComment
=URL.PORT("mqtt://test.mosquitto.org:1883")
1883