I have a dilemma with combining two strings into one array or object.
1: [atty_hourly_rate],[paralegal_hourly_rate],[advanced_deposit]
2: 250,150,500
My main goal is to access the value 500, which corresponds to advanced deposit. The order of the strings may vary, so I am looking to organize them into an array like this:
values[atty_hourly_rate] = 250
values[paralegal_hourly_rate] = 150
values[advanced_deposit] = 500
This way, I can easily refer to values[advanced_deposit] when needed.
Does anyone have any suggestions on how to achieve this efficiently?