<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic string length in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/782999#M28692</link>
    <description>LEN(charvar) will give you the length of the character variable.&lt;BR /&gt;&lt;BR /&gt;LEN_TRIM(charvar) will give you the length of the string (leading spaces included)&lt;BR /&gt;&lt;BR /&gt;That's my understanding at least.&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Mar 2012 19:35:25 GMT</pubDate>
    <dc:creator>lklawrie</dc:creator>
    <dc:date>2012-03-27T19:35:25Z</dc:date>
    <item>
      <title>string length</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/782997#M28690</link>
      <description>Rebuilding an old Cray F77 program that had the following:&lt;BR /&gt;&lt;BR /&gt;integer lpref&lt;BR /&gt;character*(*) prefix&lt;BR /&gt;lpref = len(prefix)&lt;BR /&gt;&lt;BR /&gt;where "len" was a fuction returning the length of "prefix"&lt;BR /&gt;&lt;BR /&gt;Did a quick google but couldn't find an easiest way to find the lenght of a character string in intel fortran.&lt;BR /&gt;&lt;BR /&gt;Could you suggest the easiest way? Surely there is one and it is just my search abitlities that are lacking.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 27 Mar 2012 19:09:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/782997#M28690</guid>
      <dc:creator>Ralph_Nelson</dc:creator>
      <dc:date>2012-03-27T19:09:28Z</dc:date>
    </item>
    <item>
      <title>string length</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/782998#M28691</link>
      <description>LEN is the standard intrinsic for this. What's the problem?</description>
      <pubDate>Tue, 27 Mar 2012 19:30:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/782998#M28691</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-03-27T19:30:32Z</dc:date>
    </item>
    <item>
      <title>string length</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/782999#M28692</link>
      <description>LEN(charvar) will give you the length of the character variable.&lt;BR /&gt;&lt;BR /&gt;LEN_TRIM(charvar) will give you the length of the string (leading spaces included)&lt;BR /&gt;&lt;BR /&gt;That's my understanding at least.&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Mar 2012 19:35:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/782999#M28692</guid>
      <dc:creator>lklawrie</dc:creator>
      <dc:date>2012-03-27T19:35:25Z</dc:date>
    </item>
    <item>
      <title>string length</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/783000#M28693</link>
      <description>&lt;I&gt;&amp;gt; LEN_TRIM(charvar) will give you the length of the string &lt;B&gt;after removing trailing spaces &lt;/B&gt;(leading spaces included)&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;There is nothing specific to Cray Fortran here. Furthermore, &lt;B&gt;len&lt;/B&gt; is a standard intrinsic function and its definition is &lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt; vendor-dependent.&lt;BR /&gt;&lt;BR /&gt;Googling "Fortran len function" generated a number of pertinent links.&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Mar 2012 19:42:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/783000#M28693</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-03-27T19:42:05Z</dc:date>
    </item>
    <item>
      <title>string length</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/783001#M28694</link>
      <description>And for completeness I should add that LEN_TRIM looks at trailing spaces only. It does not consider a NUL or a TAB to be a space.</description>
      <pubDate>Tue, 27 Mar 2012 19:57:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/783001#M28694</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-03-27T19:57:46Z</dc:date>
    </item>
    <item>
      <title>string length</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/783002#M28695</link>
      <description>Thanks for all the replies folks. &lt;BR /&gt;&lt;BR /&gt;I had added "implicit none" to clear up the variables in the subroutines plus added several compiler attributes in the process. Doing some clean up and then recompilng, it disappeared so it could have been commenting of the variable itself or I didn't look closely enough.</description>
      <pubDate>Tue, 27 Mar 2012 21:07:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/string-length/m-p/783002#M28695</guid>
      <dc:creator>Ralph_Nelson</dc:creator>
      <dc:date>2012-03-27T21:07:02Z</dc:date>
    </item>
  </channel>
</rss>

