Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4714

Add new skin function (ToUpper, ToLower, etc)

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Fixed
    • Icon: Major Major
    • 1.13.100
    • 1.12.0
    • Skin Engine

    Description

      <h1 style="padding: 0px; font-size: 18pt; overflow: hidden; zoom: 1; color: rgb(20, 20, 20); font-family: Lato, 'Trebuchet MS', Helvetica, Arial, sans-serif;">Add new skin function (ToUpper, ToLower, etc):</h1>

      <ol>
      <li>string.toupper -&nbsp;Returns a copy of this string converted to uppercase.</li>
      <li>string.tolower -&nbsp;Returns a copy of this string converted to lowercase.</li>
      <li>string.capitalize -&nbsp;Converts the specified string to Capitalize&nbsp;case.</li>
      <li>string.titlecase -&nbsp;Converts the specified string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).</li>
      <li>string.getfilename - For&nbsp;<b>AC/DC</b> return <b>AC_DC</b></li>
      <li>string.getdirectorypath - For&nbsp;<b>M:\Music\AC/DC\</b> - <b>M:\Music\AC_DC\</b></li>
      <li>string.equals -&nbsp;Returns 'true' (string) if string "a" and "b" are identical.</li>
      <li>string.contains -&nbsp;Returns&nbsp;'true' (string) if string 'a' contains string 'b'.</li>
      </ol>

      <ol>
      <li>cont -&nbsp;Returns&nbsp;true (bool) if string 'a' contains string 'b'.</li>
      <li>ncont -&nbsp;Returns true (bool) if string 'a' not contains string 'b'.</li>
      </ol>

      Attachments

        Activity

          People

            regeszter regeszter (Inactive)
            ajs Andrew J.Swan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: