code: protected static String convertStringPropertyValue(CmsObject cms, String propValue, String type, boolean toClient) {
  
          if (propValue == null) {
              return null;
          }
          if (toClient) {
              return CmsXmlContentPropertyHelper.getPropValuePaths(cms, type, propValue);
          } else {
              return CmsXmlContentPropertyHelper.getPropValueIds(cms, type, propValue);
          }
      }
docs: Converts a property value given as a string between server format and client format.<p>
  
  @param cms the current CMS context
  @param propValue the property value to convert
  @param type the type of the property
  @param toClient if true, convert to client format, else convert to server format
  
  @return the converted property value