G
Guest
I have a variable and I need to remove everything after the last "_" in a
string including the "_".
Example
abc_def_ghi_jklmnop
Result: abc_def_ghi
string including the "_".
Example
abc_def_ghi_jklmnop
Result: abc_def_ghi