Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75594

Right-Funktion by Kai Team - 2013-08-12

$
0
0
QUOTE (Axel Kuehn @ August 12, 2013 04:32 pm)
Bequemer wäre es, hier wirklich nur eine Kombination aus %drop2, den ersten und den letzten Buchstaben des Waypoint-Namens zu nehmen.

Hat noch jemand einen Tipp, oder ein kurzes Makro?

You can use %mtag (click here) in the waypoint name on the export dialog and a macro something like this:

GSK
IF Len($d_Name)>25
   $_Special=Right($d_Code,Len($d_Code)-2) + Right($d_Name,10)
ELSE
   $_Special=$d_Name
ENDIF

This tells GSAK that if the length of the name is greater than 25 characters, we should use the Drop2 (Code without the redundant "GC") and the last (right most) 10 characters of the name. You can tweak the lengths to meet your needs. smile.gif

Viewing all articles
Browse latest Browse all 75594

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>