on 2018 Jul 23 10:11 AM
Hi!
I have a Find Function (.Find()) in my code without parameter length, only the substring and the position value like this: .Find( 3, 4). I saw on the SDK documentation that it's possible to make this function without the length. Function returns what I want, but my problem is that an error appears in the Front End: "String Find Function: Importing parameter Length is not valid.". How can I remove this message or fix this error?
Thank you so much.
Eduard
Request clarification before answering.
Dear Eduard,
Usually this error comes, when you have defined a string parameter length which is exceeding the provided length.
Resolution -
Kindly debug your customer code /action to fix this issue.
Please refer the help documentation for more details.
7.2.6.4 Built-In Functions for Strings ( Scroll down)
Description Searches from left to right and returns the position of a substring in a string. Optionally, you can define a search area by specifying the start position only or by specifying the start position as well as the length of the search area. If no substring is found, the function returns the value "-1".
The function returns the value “-1” and raises a message if the system encounters one of the following issues:
● The substring is empty (error message)
● The start position is not within the length of the string (error
message)
● The length succeeds the length of the string (error mess
Kindly check this from your end and confirm.
Regards
Anant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.