当前位置:网站首页>Get the list of a column in phpexcel get the letters of a column
Get the list of a column in phpexcel get the letters of a column
2022-07-01 09:19:00 【What about your long love~】
function get_zimu($index, $start = 65)
{
$str = '';
if (floor($index / 26) > 0){
$str .= get_zimu(floor($index / 26) - 1);
}
return $str . chr($index % 26 + $start);
}
test
get_zimu('1') #A
get_zimu('27') #AB
边栏推荐
- ESP8266 FreeRTOS开发环境搭建
- The fixed assets management system enables enterprises to dynamically master assets
- js函数arguments对象
- Principle and application of single chip microcomputer timer, serial communication and interrupt system
- js原型继承仅可继承实例而非构造器
- Leetcode daily question brushing record --540 A single element in an ordered array
- 手指点击屏幕就模拟进入F11进入全屏
- [pytorch] 2.4 convolution function nn conv2d
- tensorrt yolov5_ trt. Py comments
- Shell script -while loop explanation
猜你喜欢
![[pytorch] softmax function](/img/97/b8ae22e8496a77e665d716cb0e9ee3.png)
[pytorch] softmax function

树结构---二叉树2非递归遍历
![[interview brush 101] linked list](/img/52/d159bc66c0dbc44c1282a96cf6b2fd.png)
[interview brush 101] linked list

OSPF - virtual link details (including configuration commands)

nacos简易实现负载均衡

JS prototype chain

Tree structure -- binary tree 2 non recursive traversal

I use flask to write the website "one"

队列的实现和应用

2.2 【pytorch】torchvision. transforms
随机推荐
Exception handling of classes in C #
Log4j 日志框架
FAQ | FAQ for building applications for large screen devices
【pytorch学习】torch.device
2.3 【kaggle数据集 - dog breed 举例】数据预处理、重写Dataset、DataLoader读取数据
美团2022年机试
Microcomputer principle - bus and its formation
【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于阿里云、小程序、Arduino的温湿度监控系统
Flink面试题
【ESP 保姆级教程 预告】疯狂Node.js服务器篇 ——案例:ESP8266 + DS18B20温度传感器 +NodeJs本地服务+ MySQL数据库
Tree structure -- binary tree 2 non recursive traversal
Flink interview questions
phpexcel 里 获取某一列的列表 获取某一列的字母
微信小程序 webview 禁止页面滚动,同时又不影响业务内overflow的滚动的实现方式
JS variable lifting
Naoqi robot summary 28
【pytorch】nn.CrossEntropyLoss() 与 nn.NLLLoss()
js this丢失问题分析 及 解决方案
Shell script - positional parameters (command line parameters)
Phishing identification app