code: def prop_width(val):
      """Returns the width of a str type property.
  
      Undefined for non-str properties.
  
      Parameters
      ----------
      val : str
          A type:width string from a collection schema.
  
      Returns
      -------
      int or None
  
      Examples
      --------
      >>> prop_width('str:25')
      25
      >>> prop_width('str')
      80
  
      """
      if val.startswith("str"):
          return int((val.split(":")[1:] or ["80"])[0])
      return None
  
imports: import glob
  import logging
  import os
  from pathlib import Path
  import platform
  import warnings
  from fiona._env import calc_gdal_version_num, get_gdal_release_name, get_gdal_version_num, get_gdal_version_tuple
  from fiona._env import driver_count
  from fiona._show_versions import show_versions
  from fiona.collection import BytesCollection, Collection
  from fiona.drvsupport import supported_drivers
  from fiona.env import ensure_env_with_credentials, Env
  from fiona.errors import FionaDeprecationWarning
  from fiona.io import MemoryFile
  from fiona.model import Feature, Geometry, Properties
  from fiona.ogrext import FIELD_TYPES_MAP, _bounds, _listdir, _listlayers, _remove, _remove_layer
  from fiona.path import ParsedPath, parse_path, vsi_path
  from fiona.vfs import parse_paths
  from fiona import _geometry, _err, rfc3339
  import uuid
label_desc: Use image node_id 5 for calling a global function with example usage: prop_width(val) and returns: None, int