String methods using /, //, %

/ - “str1”/“str2”: not possible in Go. Need to use this as matchAll , match, filter, filterAll
% - “str1” % “str2” : Need to use for spilt or filter after removing given search item # extend based on variable passing into the method
// -
%% -
Just think like this. So shared. Thanks. We have this(/,%, /) in all different language.

I don’t understand what you want.

To be honest, in all programming languages I’ve used so far, I’ve only seen % as a binary operator on strings and that’s in python where it is basically just fmt.Sprintf.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.