src/snac/client/webui/util/Neo4JUtil.php
/**
     * Shorten String Helper
     *
     * Given a string, if the string is longer than 60 characters, it
     * will reduce the string to 60 characters with a trailing "..."
     *
     * @param string $string The string to shorten
     * @return string The shortened string
     */
Shorten String Helper
Given a string, if the string is longer than 60 characters, it
will reduce the string to 60 characters with a trailing "..."


Shorten String Helper Given a string if the string is longer than 60 characters it will reduce the string to 60 characters with a trailing " ... "
public function shortenString($string)
    {
        if (strlen($string) > 60)
        {
            $string = mb_substr($string, 0, 57) . "...";
        }
        return $string;
    }
public function shortenString ( $ string ) { if ( strlen ( $ string ) > 60 ) { $ string = mb_substr ( $ string , 0 , 57 ) . " ... " ; } return $ string ; }
Shorten String Helper
 Given a string, if the string is longer than 60 characters, it
 will reduce the string to 60 characters with a trailing "..."
Shorten String Helper Given a string if the string is longer than 60 characters it will reduce the string to 60 characters with a trailing " ... "