(2)| 11/13/2017 4:39 PM | |
|
Joined: 9/23/2005 Last visit: 1/19/2026 Posts: 4449 Rating:
|
Hi, In the STEP 7 V14 has several instructions to strings manipulation. For example, FIND finds characters in a character strings and REPLACE replaces part of a string with another string based in fixed position. Combining FIND, REPLACE, LEAN and While instructions it is possible to build a block that substitutes a specified contends of a string for other one. In the follow sample program, the matter “456” is searched in the original string “12345678901234567890” and exchanged for “abc” so that the result is “123aabc7890123abc7890” AttachmentFindReplace.zip (728 Downloads) |
|
Denilson Pegaia |
|
This contribution was helpful to
|
|
Follow us on