code: @Nullable
    public static String getSessionID (@Nonnull final String sValue)
    {
      ValueEnforcer.notNull (sValue, "Value");
  
      // Get the session ID parameter
      final int nIndex = sValue.indexOf (';');
      return nIndex == -1 ? null : sValue.substring (nIndex + 1);
    }
docs: Get the session ID of the passed string (like in
  "test.html;JSESSIONID=1234").<br>
  Attention: this methods does not consider eventually present request
  parameters. If parameters are present, they must be stripped away
  explicitly!
  
  @param sValue
  The value to get the session ID from. May not be <code>null</code>.
  @return The session ID of the value or <code>null</code> if no session ID
  is present.