Open topic with navigation CAPL Functions » General » Function Overview » strstr, strstr_offDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
strstr, strstr_off
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Searches in s1 for s2. Note: A character may need several bytes depending on the string encoding, e.g., Japanese characters in Windows ANSI (932) encoding or any special characters in UTF-8 encoding. In that case, you should use mbstrstr/mbstrstr_off instead.Parameters
- s1: First string
- offset: Offset in s1 in bytes at which the search shall be started
- s2: Second string