getMethodFromString

Retrieves the method component from a given string representation of a DID.

Return

The extracted method component from the input string.

Parameters

string

The input string in the format "schema:method:methodId".