RAPID funtion to remove white space
Is there a function that will remove all leading white space in a string?
Something equivalent to string.Trim() in c#
Something equivalent to string.Trim() in c#
0
Comments
-
You could write your own, or perhaps a routine. There is a predefined data, STR_WHITE, for blank space. There are a lot of string functions available and I suppose you could use one or more to clear out any undesired white spaces.Lee Justice0
-
FUNC string StrTrim(string sInput, string sTrim)VAR string sPart;VAR string sReturn;FOR i FROM 1 TO StrLen(sInput) DOsPart:=StrPart(sInput,i,1);IF sPart<>sTrim sReturn:=sReturn+sPart;ENDFORRETURN sReturn;ENDFUNC
Needed and created it last week.Cheers0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 327 IRC5
- 65 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 821 RAPID Programming
- 8 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings