3.6: Added generic slToken function for StringLike type