Welcome to the Harris Geospatial documentation center. Here you will find reference guides and help documents.


  >  Docs Center  >  Libraries  >  Motley  >  MGH_STR_VANILLA

MGH_STR_VANILLA

MGH_STR_VANILLA

Name


  MGH_STR_VANILLA

Purpose


  Convert arbitrary string to vanilla form, suitable for file name.

Category


  Strings.

Calling Sequence


  result = MGH_STR_VANILLA(instr)

Positional Parameters


  instr (input, string scalar or array)
    Input string(s).

Return Value


  The function returns a string variable with the same shape as the
  original, with all unsafe characters replaced with safe ones.
###########################################################################
  Copyright (c) 2005-2013 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 2005-02:
    Written.
  Mark Hadfield, 2009-07:
    Substitution map is now a [2,n] array. Added a substitution for '*'.
  Mark Hadfield, 2009-09:
    Added a substitution for '?'.
  Mark Hadfield, 2010-03:
    Added a substitution for ','.
  Mark Hadfield, 2013-05:
    Added substitutions for '@' and '+'.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us