How to check if a string is present completely as a prefix in another string or not

How to check if a string is present completely as a prefix in another string…

@Avishek-Kumar-2445349249011561 hey avishek see this