Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell check end of string

#Program to check if string "check" comes at the begining of the string
 $str="checking1234"
 if ( $str.startswith("check") )
 {
 echo "String $str starts with check"
 }
Source by powershelldaily.wordpress.com #
 
PREVIOUS NEXT
Tagged: #powershell #check #string
ADD COMMENT
Topic
Name
3+6 =