MIST stringCondense

From DCS World Wiki - Hoggitworld.com


mist.stringCondense

Added with: Mist 4.5
Description
Returns a string with certain special characters and spaces removed. Is used by mist.stringMatch to remove the characters.
Syntax
string mist.stringCondense(string s )
Valid Input Values:
'F-18Group1'
Return value:
string
Return example:
f18Group1
Usage Examples:
Notes:
Characters removed:
-  (   )  _   [   ]  .   ,   #   {  }  $  %  ?   +  ^ 

It also removes spaces between characters.

Related Functions
makeUnitTable, getRandPointInCircle, getRandomPointInZone, getRandomPointInPoly, isTerrainValid, terrainHeightDiff, getUnitsInZones, getUnitsInMovingZones, pointInPolygon, getUnitsInPolygon, getDeadMapObjsInZones, getDeadMapObjsInPolygonZone, getUnitsLOS, random, randomizeNumTable, getAvgPoint, getQFE, getWindBearingAndVel, getPathLength, getPathInSegments, getPointAtDistanceOnPath, projectPoint, getGroupsByAttribute, , getUnitsByAttribute, mapValue,

Scripting Engine

MIST Root Page