Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfoutput>
- <cfset stringToSearch = "The quick brown fox specs jumped over the lazy dog.">
- #find("the",stringToSearch)#<br>
- #find("the",stringToSearch,35)#<br>
- #find("no such substring",stringToSearch)#<br>
- <br>
- #findnocase("the",stringToSearch)#<br>
- #findnocase("the",stringToSearch,5)#<br>
- #findnocase("no such substring",stringToSearch)#<br>
- <br>
- #findoneof("aeiou",stringToSearch)#<br>
- #findoneof("aeiou",stringToSearch,4)#<br>
- #findoneof("@%^*()",stringToSearch)#<br>
- </cfoutput>
Add Comment
Please, Sign In to add comment