{"id":17289147,"date":"2023-12-19T15:32:03","date_gmt":"2023-12-19T15:32:03","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/string-operations-2\/"},"modified":"2023-12-19T15:32:03","modified_gmt":"2023-12-19T15:32:03","slug":"string-operations-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/string-operations-2\/","title":{"rendered":"string operations"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi CodePeople<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m currently looking for a solution to assign two values in a dropdown field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because I can assign only one value to a dropdown text (row) I thought I assign a value like 1123-14,5 and with a caculation field I extract the first part (1123) and with another calculation field I extract the second part (14,5). Any idea how to manage that. e.g. with string operations like right, left, find, lenght &#8230; <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Best Regards Michael<\/p>\n","protected":false},"template":"","class_list":["post-17289147","topic","type-topic","status-publish","hentry","topic-tag-string","topic-tag-text"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17289147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17289147\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17289147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}