GetStrippedName

GetStrippedName[str]
returns the stripped name of str .
  • LinkageDesigner uses composite naming strategy. Every name is composed of the following pattern "Linkagename_@Name_". Stripped name is the "Name_" part of the pattern
  • "str" is stripped down up to the first "@" character.e.g "MyMechanism@MyLinkage@myLink"→MyLinkage@myLink"
Load LinkageDesigner package
In[1]:=
Click for copyable input
This creates a LinkageData object
In[2]:=
Click for copyable input
Out[2]=
Calculates the full name of "myLink"
In[3]:=
Click for copyable input
Out[3]=
Get the full and stripped name of "MyLinkage@myLink" string
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
GetStripped name strips down the string up to the first "@" character
In[6]:=
Click for copyable input
Out[6]=