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