CalcBuilder Forum

string to uppercase

Usuario bsnline 2018-02-28 22:55:51

Hi,
I have to normalize a string to uppercase.
I tried with Function "strtoupper();" but not work

for example:
$test=strtoupper($string);

suggestion, please.

Moonsoft support 2018-03-01 13:34:21

Hi,
that code is correct, so we suggest to double check if you have the right value at $string when that line is reached, that you are really showing $test at your output, and that you're not overriding it in any other part of your calculation, you can try

$test =$string." to UPPER: ".strtoupper($string);

in order to help you debugging the origin of the result.

Hope this helps, regards

Usuario bsnline 2018-03-01 22:25:20

Hi,
okay work !
my mistake
thank you

...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!