Answers for "powershell check last character of string"

0

powershell check end of string

#Program to check if string 1234 comes at the end of the string
$str="checking1234"
if ( $str.endswith("1234") )
{
echo "String $str ends with 1234"
}
Posted by: Guest on August-25-2020

Code answers related to "powershell check last character of string"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language